Things to know about scriptable items, settings customizable per item, only by me. I wont take requests to custimize any item for now, but you should still know all thats possible
just in case.
- reuse interval, in seconds that have to pass since last reuse
- define a max number of uses
- set action to perform when consumed, if item has a max number of uses. Possible actions are to return to creator, discard, but could be anything realy.
- set action to perform on each use. For example to return to creator on each use, like a bottle that can be used by anyone and still has a max number of uses but returns on each use to its creator.
- items can share same mdscript. Variables to support that and tell item name, holder name, location and such will be added later. This could allow connected items shared across multiple players.
- by sharing same mdscript, an editor could remotely edit the functionality of an other item that has an other owner but shars same script.
- items can be assigned to groups, such groups make the items return to a central location when destroyed or consumed. this is part of a future feature where lands could have things like armory or a common inventory where anyone could get something to use and it would return to the "warehouse" when consumed.
- it is probably a good idea to script items on a clickable first and then assign the code once its done. Repeated editing will probably cause the item to trigger its use limit. Unfortunatly item specific functions wont run on normal clickables and will probably give a warning. I am still thinking about a solution to this, be aware it might be am issue for now.
- there is no limit to what items could get an artwork. It is just a matter of suitable available artorks and time. If you provide them in the right format (named with id of item, png transparent under 15kb, handmade, exact size) i could add an art to any item that is missing one. Because i dont have time for this to do it one by one, i require at least 10 items at a time, then i will do it. Otherwise you will have to wait untill next wave of artworks for the items.
- reuse interval, in seconds that have to pass since last reuse
- define a max number of uses
- set action to perform when consumed, if item has a max number of uses. Possible actions are to return to creator, discard, but could be anything realy.
- set action to perform on each use. For example to return to creator on each use, like a bottle that can be used by anyone and still has a max number of uses but returns on each use to its creator.
- items can share same mdscript. Variables to support that and tell item name, holder name, location and such will be added later. This could allow connected items shared across multiple players.
- by sharing same mdscript, an editor could remotely edit the functionality of an other item that has an other owner but shars same script.
- items can be assigned to groups, such groups make the items return to a central location when destroyed or consumed. this is part of a future feature where lands could have things like armory or a common inventory where anyone could get something to use and it would return to the "warehouse" when consumed.
- it is probably a good idea to script items on a clickable first and then assign the code once its done. Repeated editing will probably cause the item to trigger its use limit. Unfortunatly item specific functions wont run on normal clickables and will probably give a warning. I am still thinking about a solution to this, be aware it might be am issue for now.
- there is no limit to what items could get an artwork. It is just a matter of suitable available artorks and time. If you provide them in the right format (named with id of item, png transparent under 15kb, handmade, exact size) i could add an art to any item that is missing one. Because i dont have time for this to do it one by one, i require at least 10 items at a time, then i will do it. Otherwise you will have to wait untill next wave of artworks for the items.