Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Add give_initial_stuff API (and a setting) #579
changed the title
Add items table for give_initial_stuff and Add an API for give_initial_stuff
Jul 17, 2015
unless i am reading it wrong, isn't one of the reason for this is to allow other mods to add item to the list of items to be given?
if that is the case, is
someone might want to change the name (in the future) since, (imo), it isn't that great.
maybe providing an api for adding an item would make it more future proof.
someone could change it in the future, adding a simple wrapper would make it so that people wouldn't have to update their mods whenever someone decide to change it.
also, iirc, It's bad practice to directly access another mod (internal) variable let alone edit it.
Approved by sfan5 http://irc.minetest.ru/minetest-dev/2016-04-30#i_4598061