Jump to content

A16 - New Joke Buffs "Bowel Movement" and "Use Toilet"


Nanashi

Recommended Posts

Hi.

 

The Mysterious item "A Human Turd" is coming from where ?

"Bowel Movement" joke buff is answer to the question.

 

This Mod has been included in the Zombie Merchant Mod.

https://7daystodie.com/forums/showth...d-for-Alpha-14

 

Screenshots

When you eat some food.

http://i.imgur.com/xHKgFj2.jpg

http://i.imgur.com/GcSnmbJ.jpg

 

Time elapsed after eating.

http://i.imgur.com/gNVkilj.jpg

http://i.imgur.com/J1BYoAQ.jpg

 

Use toilet.

http://i.imgur.com/0GPQrTO.jpg

http://i.imgur.com/vTnphlB.jpg

 

Mod Code

Add Code

buffs.xml

<buff id="useToilet" duration="3" icon="ui_game_symbol_oxygen" debuffif="CTReat less 1" actions="setvar(CTReat, 0)" stack="reset" name_key="useToilet" description_key="useToiletDesc" tooltip_key="useToiletTooltip" castsound="UseActions/open_toilet"/>
<buff id="eatMealTrigger" duration="1" name_key="eatMealTrigger" actions="increment(CTReat, 1, 0, 0, 1)" />
<buff id="afterMeal" mutex="useToilet,bowelMovement" buffif="CTReat greater 0" debuffif="CTReat less 1" duration="500" onexpired="bowelMovement" type="sickness"
icon="ui_game_symbol_fork" name_key="afterMeal" description_key="afterMealDesc" tooltip_key="afterMealTooltip">
</buff>

<buff id="bowelMovement" debuffif="CTReat less 1" actions="increment(CTReat, -1, 100, 0, 0);damage(0,10,0,0)" type="sickness" castsound="playersick"
icon="ui_game_symbol_dysentery" name_key="bowelMovement" description_key="bowelMovementDesc" tooltip_key="bowelMovementTooltip">
<modify id="0" stat="stamina" amount="-0.3" rate="1"/>
</buff>

 

Localization.txt

useToilet,buffs,Buff,,Use Toilet,,
useToiletDesc,buffs,Buff,,Use Toilet.,,
useToiletTooltip,buffs,Buff,,Use Toilet.,,
eatMealTrigger,buffs,Buff,,Eating Meals,,
afterMeal,buffs,Buff,,After Meals,,
afterMealDesc,buffs,Buff,,Go to the toilet after meals.,,
afterMealTooltip,buffs,Buff,,Go to the toilet after meals.,,
bowelMovement,buffs,Buff,,Bowel Movement,,
bowelMovementDesc,buffs,Buff,,Bowel Movement. Hurry up to go toilet.,,
bowelMovementTooltip,buffs,Buff,,Bowel Movement. Hurry up to go toilet.,,

 

Change Code Example

blocks.xml

<block id="434" name="cntToilet01">
<property name="Material" value="Mmetal_weak" />
<property name="StabilitySupport" value="false" />
<property name="Shape" value="Ext3dModel" />
<property name="Mesh" value="models" />
<property name="Class" value="Loot" />
<property name="LootList" value="67" />
<property name="Texture" value="282" />
<property name="Model" value="Plumbing/toilet01" param1="main_mesh" />
<property name="DescriptionKey" value="furnitureGroupDesc"/>
[b]<property name="BuffsWhenWalkedOn" value="useToilet"/>[/b]
<property class="RepairItems"> <property name="shortMetalPipe" value="2" /> <property name="wood" value="4" /> </property>
<drop event="Destroy" name="shortMetalPipe" count="1" prob="1" />
<drop event="Fall" name="scrapMetalPile" count="1" prob=".75" stick_chance="1" />
<drop event="Harvest" name="shortMetalPipe" count="3" tool_category="Disassemble" />
<drop event="Harvest" name="scrapIron" count="2" tool_category="Disassemble" />
</block>

 

items.xml

<item id="738" name="grilledMeat">
<property name="Meshfile" value="Items/Misc/parcelPrefab" />
<property name="Material" value="organic" />
<property name="HoldType" value="31" />
<property name="Stacknumber" value="50" /> <!-- STK food -->
<property class="Action1">
	<property name="Class" value="Eat" />
	<property name="Delay" value="2.1" />
	<property name="Use_time" value="..." />
	<property name="Gain_health" value="2" />
	<property name="Gain_food" value="10" />
	<property name="Gain_water" value="-2" />
	<property name="Gain_wellness" value="0.8" />
	<property name="Sound_start" value="UseActions/player_eating" />
	[b]<property name="Buff" value="eatMealTrigger" />[/b]
</property>
<property name="Smell" value="mediumSmell" />
<property name="Group" value="Food/Cooking" />
<property name="ActionSkillGroup" value="Meal"/>
<property name="CraftingSkillGroup" value="Cooking"/>
</item>

Link to comment
Share on other sites

Love it. If we ever get "texture blocks" or whatever that is I see on my daughter's minecraft, I shudder to think what kind of crap we will see... (both figurative and literal)

 

Something must be deeply wrong with us if we are the only 2 responding and having fun with this. Or maybe we are normal and the rest have issues. I'm sticking with the second.

Sorrow and Guppy, butt brothers.

Link to comment
Share on other sites

Something must be deeply wrong with us if we are the only 2 responding and having fun with this. Or maybe we are normal and the rest have issues. I'm sticking with the second.

Sorrow and Guppy, butt brothers.

Guppy Sorrow....

Has a nice ring to it.

 

I think this is hilarious, and will definitely be adding it to my private server. I'll change it up a bit though re-wording it, and may tinker with the timers.

Link to comment
Share on other sites

  • 1 month later...

This is exactly what I was looking for!

 

A few Questions:

-Does this actually add a Turd to the toilet after standing on it?

-Is there a way to expand on this so you get a small wellness boost for taking a timely duce and reverse for holding too long?

-@JaxTeller718 can you provide your addition so I can get mine smelly?

Link to comment
Share on other sites

  • 2 years later...

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...