Giter Site home page Giter Site logo

professionframework's Issues

Is it possible to remove standard clothing

For example, I added a profession:

ProfessionFramework.addProfession('evacuated', {
    name = "Evacuated",
    icon = "profession_evacuated",
    cost = -4,
    xp = { 
        [Perks.SmallBlunt] = 2,
        [Perks.Blunt] = 1,
        [Perks.SmallBlade] = 1,
	[Perks.Maintenance] = 2,
	[Perks.Cooking] = 1,
	[Perks.Farming] = 2,
	[Perks.Mechanics] = 1,
	[Perks.Electricity] = 2,
	[Perks.MetalWelding] = 2,
	[Perks.Woodwork] = 2,
    },
	traits = {},
	clothing = {
        Tshirt = {"Base.Tshirt_Profession_RangerBrown", "Base.Tshirt_Profession_RangerGreen"},
        Pants = {"Base.Trousers_Ranger"},
		Back = {"Base.Bag_Satchel"},
		LeftWrist = {"Base.WristWatch_Left_ClassicBlack", "Base.WristWatch_Left_ClassicBrown"},
    },
    inventory = {
        ["Base.Hammer"] = 1,
        ["Base.Pencil"] = 1,
        ["Base.TinnedBeans"] = 2,
	["Base.WaterBottleFull"] = 1,
    },
})

In the code, I added clothes that the player can choose when creating a character. Can I somehow remove the clothes that the game offers initially?

Game freezes when selecting a trait/profession preset

Hey mate!

First off this is a great mod. Unfortunately it causes an issue in my new mod.
Whenever I select a preset of traits and profession in the character editor the game freezes.

  • I've run my mod alone so its not an compatbility issue
  • I've deleted every code my co author added so that only the profession framework related code remains (so its not an infinite loop or something similar)
  • I've tried to disable the starting kits because I suspected this could've been it
  • I've tried changing the order of the different attributes for my traits and professions

But nothing worked :(
Is this a known issue and can you tell me how to solve it?

If you want to take a look I have added the releavant files to this issue ticket.
If you want to take a look at the complete mod here is the workshop link: https://steamcommunity.com/sharedfiles/filedetails/?id=2919436296

naprofessions.zip

descriptions for professions (not traits)

When you hover over vanilla professions it shows a description for the profession. Is it possible to emulate this? I can't find the original (vanilla) descriptions in any lua. So I am not understanding it.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.