Jump to content

DW420

Members
  • Posts

    20
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by DW420

  1. Hmm....perhaps i should go the roundabout way for now...and look to create forge-like versions of the blocks i want to use as sources then use jars as the ingredient and polymer as the fuel (think of it as the cost for making sealed bottle caps)...then get them in the game as "extra options" so that they spawn alongside the vanilla blocks for POIs. (that has its issues/limitations as well, as you wont be able to loot them...but the player's inventory wont be cluttered with so many different jars .) I wouldn't know where to start with DMT etc hopefully someone who knows what they are doing will sort it out eventually
  2. Thanks for the reply Please allow me to be a bit more specific in order to (hopefully) assist you in helping me. I would like to add different results depending on the source where the liquid was sourced from...but i cant find any vanilla item that actually does something similar...so i'm throwing rocks in the dark, hoping to hear the right kind of thunk sort of speak... So far...The following code adds dirty water collection from sinks etc..i'll call it codeA from now on for short. <append xpath="/items/item[@name='drinkJarEmpty']/property[@class='Action1']"> <property name="Focused_blockname_6" value="faucet02"/> <property name="Focused_blockname_7" value="faucet04"/> <property name="Focused_blockname_8" value="faucetBrass02"/> <property name="Focused_blockname_9" value="faucetBrass04"/> <property name="Focused_blockname_10" value="cntToilet01"/> <property name="Focused_blockname_11" value="cntToilet02"/> <property name="Focused_blockname_12" value="cntToilet03"/> <property name="Focused_blockname_13" value="cntCabinetOldSink"/> <property name="Focused_blockname_14" value="cntGraniteSink"/> <property name="Focused_blockname_15" value="utilitySink"/> <property name="Focused_blockname_16" value="wallHungSink"/> <property name="Focused_blockname_17" value="showerHead"/> <property name="Focused_blockname_18" value="fountain"/> </append> The issues arise once i try to add another result/source: - Appending an extra 'Action1' block of code as a new entry further down the config throws an error. (just like you said) - Appending the following block of code (codeB) as a new entry further down the config forces all sources appended from codeA to now provide clean water. <append xpath="/items/item[@name='drinkJarEmpty']/property[@class='Action1']"> <property name="Class" value="ExchangeItem"/> <property name="Delay" value="1.0"/> <property name="Change_item_to" value="drinkJarBoiledWater"/> <---blockname_1 or blockname_19 makes no difference to the result--> <property name="Focused_blockname_1" value="cntWaterCoolerFull"/> <property name="Sound_start" value="bucketfill_water"/> </append> - Appending both CodeA and Codeb as a single entry also forces all sources appended to provide clean water. <append xpath="/items/item[@name='drinkJarEmpty']/property[@class='Action1']"> codeA codeB </append> This was also the case 4 years ago...you couldn't have more than 1 type of liquid collected via glass jar. Is that possible atm? If not , would a tool that uses glass jars as fuel/ammo be (theoretically) able to do this...given what one can or can't do at this point of time? Thanks in advance
  3. Thnx for the reply. i was trying syntax similar to: <append xpath="/items/item/property[@class='Action1']/property[@name='drinkJarEmpty' or @name='bucketEmpty']/@name='Focused_blockname_6' value="faucet02"></append> with no success....guess I'm going to simplify how i try to express what i want done... PS. Would i be right to assume that if i wanted to add an alternative action 1 i would have to write it down as <configs> <append xpath="/items/item[@name='ThisItem']"> <!-- Code similar to this goes here --> <property class="Action1"> <!-- UseAction --> <property name="Class" value="ExchangeItem"/> <property name="Delay" value="1.0"/> <property name="Change_item_to" value="NAME-ResultingItem"/> <property name="Do_block_action" value="deplete1"/> <---------------------------this line is for natural water blocks only ? <property name="Focused_blockname_1" value="NAME-TargetBlock"/> <property name="Sound_start" value="bucketfill_water"/> </property> </append> </configs> --The optimal result for what i'm looking to achieve (atm) is having the ability to scavenge different items from different sources whilst introducing as few custom items as possible...eg being able to collect with EmptyJar dirty water from shower heads, petrol from cars/gas pumps, wine from wine barrels.. I figured that attempting a forge-like bottling plant...would be good practice and (perhaps ?) the end product can fill a gap in terms of user modded content for 18.4
  4. Hello...returning player here (so please excuse the ignorance ) I'm trying to add some more functions to "Action1" for the drinkJarEmpty using <append> (eg. drawing water from showerheads.) i've read all of the examples on page 1 and had a couple of tries but i haven't had any luck yet...is it something straightforward or am i asking too much at the current point in time? Thanks in advance
×
×
  • Create New...