Trixter01 on 3/1/2018 at 14:00I am looking for a config file that can be edited to add a leek to my inventory, or on the ground, or re-plant them. Also, I accidentally pissed off the reble base, and want to change my faction status...Someone know a way?

Thanks

dscharrer on 18/1/2018 at 05:04

Quote Posted by Trixter01

I am looking for a config file that can be edited to add a leek to my inventory, or on the ground, or re-plant them.

If there is no space in the player inventory the leeks will be dropped in front of the player.

Or you can spawn them anywhere in the scene:

Code:

spawn item provisions/food_leek/food_leek self

The last parameter here (self) specifies where to spawn the item - it must be a valid entity ID or "self" to use the calling entity (the player in case of the script console).

Quote Posted by Trixter01

Also, I accidentally pissed off the reble base, and want to change my faction status...Someone know a way?

Yes, try to be nicer to the NPCs.

The scripts don't seem to account for making the rebels friendly again so it will be painful to reverse the faction status even with the script console.

The faction status is controlled via the global script variable #dissident_enemy, which u can reset using the following command

Code:

set #dissident_enemy 0

However, that will not make any rebel NPCs friendly that are already aggressive towards the player.Each NPC has an entity script variable §enemy that defines if that NPC considers the player an entity. Currently it is not possible to enter the non-ASCII character § into the script console with the correct encoding so that it will be recognized by the script engine.Further, there is more entity state like the current behavior that will not be automatically reset even if you manage to change §enemy variables for all rebel NPCs.