Jump to content

moriakGG

Members
  • Posts

    2
  • Joined

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

moriakGG's Achievements

Refugee

Refugee (1/15)

0

Reputation

  1. Hi, I have a question regarding the xpath command remove. Is it possible to remove only a part of a string in an attribute? For example, Advanced Engineering skill level 2 teaches these recipes: gunPistol,gunPumpShotgun,gunHuntingRifle,spotlightPlayer,speaker,pressureplate,pressureplateLong,electrictimerrelay,motionsensor,cementMixer,ammoDartSteel,dartTrap <passive_effect name="RecipeTagUnlocked" operation="base_set" value="1" level="2,5" tags="gunPistol,gunPumpShotgun,gunHuntingRifle,spotlightPlayer,speaker,pressureplate,pressureplateLong,electrictimerrelay,motionsensor,cementMixer,ammoDartSteel,dartTrap" /> Is is possible to use the remove command to remove only a single recipe from this skill? I tried to format the remove command in a similar fashion as append command but that didn't work. <remove xpath="/progression/perks/perk[@name='perkAdvancedEngineering']/effect_group/passive_effect[@name='RecipeTagUnlocked' and @level='2,5']/@tags">,dartTrap</remove> Or do I have to use the set command and set it to the same string but without the one recipe that I don't want there? <set xpath="/progression/perks/perk[@name='perkAdvancedEngineering']/effect_group/passive_effect[@name='RecipeTagUnlocked' and @level='2,5']/@tags">gunPistol,gunPumpShotgun,gunHuntingRifle,spotlightPlayer,speaker,pressureplate,pressureplateLong,electrictimerrelay,motionsensor,cementMixer,ammoDartSteel</set> Is there any other command which can remove only a specific part of the string? Thanks.
  2. Hi, To change the drying speed of concrete you need to change the values for UpgradeRated.Rate under pouredConcreteMaster and pouredRConcreteMaster blocks in blocks.xml file. It appears that it dries fastest when the value is 1 (default value is 4 and 5 respectively). I have tried lower values but decimals (e.g. 0.5) give an error and the world fails to load and 0 or negative values didn't seem to be any different from 1. Someone please correct me if there are any values which make it even faster. Alternatively to editing the file yourself, you can download my mod which I have created just now and which does exactly that: https://www.nexusmods.com/7daystodie/mods/406 Here's the code that my mod uses. <configs> <set xpath="/blocks/block[@name='pouredConcreteMaster']/property[@name='UpgradeRated.Rate']/@value">1</set> <set xpath="/blocks/block[@name='pouredRConcreteMaster']/property[@name='UpgradeRated.Rate']/@value">1</set> </configs>
×
×
  • Create New...