Medieval Engineers

Medieval Engineers

Not enough ratings
Yurand's Consumed Returning
   
Award
Favorite
Favorited
Unfavorite
Type: Mod
Mod category: script
File Size
Posted
322.266 KB
6 Jul, 2017 @ 10:50am
1 Change Note ( view )

Subscribe to download
Yurand's Consumed Returning

In 1 collection by Yurand2000
Yurand2000's Medieval Engineers Mods
23 items
Description
Hey there guys, I'm proudly back on modding and today I'm releasing something that doesn't really work on its own but it could be used for many mods without having any issues or conflicting data! This mod allows you to create definition for consumable items that will return you anything you wish upon consumption, as an example you could make thatafter consuming the mushroom soup you get back its plate, so reusing it!

- MOD INFORMATIONS:
Author: Yurand2000
Current Version: 1.00
Since: ME 0.5.9

- - - MODDER INFORMATIONS - - -
So with this mod you can define your own returnings upon consuming some food or whatever you wish. You have to just create two definitions into your sbc file: the ReturningDefinition item is used for defining what you want to return upon consuming, while the ReturningComponent (that has no parameters) has just to be added to your character entities in order to make the system work. My "Yurand's Definition Loader" might be used for faster adding of this component to the character containers, otherwise if you don't want to use it, just load all the definition to every container manually.

Wanting to see your feedback on it! The example on how to implement this system to your mods is in the ExampleDefinition.sbc file in the mod directory. A guide may follow if positive responce is received.
- - - MODDER INFORMATIONS - - -

Also take a look to these other scripting mods:
Yurand's Definition Loader
Yurand's Automated Fermenting
More to come!

Thanks for reading, subscribing, liking! Unlike if you wish, tell me if anything is wrong in the comments, give me love... Enjoy it!
3 Comments
LeonserGT 10 Jul, 2017 @ 2:29am 
@Modern Mayhem, Crossbow kills, but goulash heals
Modern Mayhem 7 Jul, 2017 @ 3:56am 
Woah... So if I am the slightest bit smart I could make it that if I eat soup I can get a crossbow in return? Awesome By The Way.
Köbi 6 Jul, 2017 @ 11:37am 
This is awesome! Thanks so much!