zztong
Well-known member
I've had a personal modlet with some "water" features I prefer and I've used it on a number of play throughs. But I'm now using it on a Tradeless play through and I'm seeing some bugs that either escaped my notice or weren't worth messing with at the time.
(1) Unflitered Dew Collector -- Doesn't show an inventory.
I feel embarrassed to admit that I've done a number of playthroughs and never noticed my Unfiltered Dew Collector didn't work. I think that's because when I've played with a Trader, I was always able to buy a Filter when I wanted to make a Dew Collector, or that I used my recipe to make a filter, so that I always crafted a regular Dew Collector. Now, without Traders, I made an Unfiltered one. I could have sworn I tested this when I made the modlet, but perhaps not. I suspect what I tested at the time was just changing a Dew Collector to produce murky water.
In any event, this block can be placed and all, but doesn't give me the "Dew Collector is Empty" message or the ability to open up the inventory. I've missed something. I'm not sure what. I'm starting to suspect I've not connected something to the UI?
<append xpath="/blocks">
<block name="zzUnfilteredDewCollector">
<property name="Extends" value="cntDewCollector" param1="Class"/>
<property name="ConvertToItem" value="drinkJarRiverWater"/>
<property name="CustomIcon" value="cntDewCollector"/>
<property name="Model" value="Entities/Furniture/collectorDewPrefab"/>
<property name="HeatMapStrength" value="0.5"/>
<property name="HeatMapTime" value="4000"/>
<property name="HeatMapFrequency" value="1000"/>
</block>
</append>
(2) Taking Water from a Water Source still says "Drink" instead of "Take" and the Delay in-game doesn't look right.
If I'm not mistaken, this change should make the game say "Press E to Take" instead of "Press E to Drink", but the change appears to have no effect. I'm wondering if I've missed something. lblContextActionTake says "Take" in the Localization.txt file, but I still see "Drink" in-game.
Also, the delay of 6 seconds works fine, though the action appears to only take 1 second. That is, you can only perform the action once every 6 seconds, but you get the jar of water after 1 second and are otherwise free to move.
(1) Unflitered Dew Collector -- Doesn't show an inventory.
I feel embarrassed to admit that I've done a number of playthroughs and never noticed my Unfiltered Dew Collector didn't work. I think that's because when I've played with a Trader, I was always able to buy a Filter when I wanted to make a Dew Collector, or that I used my recipe to make a filter, so that I always crafted a regular Dew Collector. Now, without Traders, I made an Unfiltered one. I could have sworn I tested this when I made the modlet, but perhaps not. I suspect what I tested at the time was just changing a Dew Collector to produce murky water.
In any event, this block can be placed and all, but doesn't give me the "Dew Collector is Empty" message or the ability to open up the inventory. I've missed something. I'm not sure what. I'm starting to suspect I've not connected something to the UI?
<append xpath="/blocks">
<block name="zzUnfilteredDewCollector">
<property name="Extends" value="cntDewCollector" param1="Class"/>
<property name="ConvertToItem" value="drinkJarRiverWater"/>
<property name="CustomIcon" value="cntDewCollector"/>
<property name="Model" value="Entities/Furniture/collectorDewPrefab"/>
<property name="HeatMapStrength" value="0.5"/>
<property name="HeatMapTime" value="4000"/>
<property name="HeatMapFrequency" value="1000"/>
</block>
</append>
(2) Taking Water from a Water Source still says "Drink" instead of "Take" and the Delay in-game doesn't look right.
If I'm not mistaken, this change should make the game say "Press E to Take" instead of "Press E to Drink", but the change appears to have no effect. I'm wondering if I've missed something. lblContextActionTake says "Take" in the Localization.txt file, but I still see "Drink" in-game.
Also, the delay of 6 seconds works fine, though the action appears to only take 1 second. That is, you can only perform the action once every 6 seconds, but you get the jar of water after 1 second and are otherwise free to move.
Code:
<setattribute xpath="/items/item[@name='meleeHandPlayer']/property[@class='Action2']/property[@name='Delay']" name="value">6</setattribute>
<setattribute xpath="/items/item[@name='meleeHandPlayer']/property[@class='Action2']/property[@name='Sound_start']" name="value">bucketfill_water</setattribute>
<setattribute xpath="/items/item[@name='meleeHandPlayer']/property[@class='Action2']/property[@name='Description']" name="value">lblContextActionTake</setattribute>
<append xpath="/items/item[@name='meleeHandPlayer']/property[@class='Action2']">
<property name="Create_item" value="drinkJarRiverWater"/>
<property name="Create_item_count" value="1"/>
</append>
<remove xpath="/items/item[@name='meleeHandPlayer']/effect_group[@name='Drink']" />