icewolfz / jiMUD

MUD client for ShadowMUD.com using electron
http://www.shadowmud.com
7 stars 0 forks source link

Code editor: Add global variables support #297

Open icewolfz opened 2 months ago

icewolfz commented 2 months ago

Add support to allow rooms/monsters/objects have global variables that can be edited to add at code create

need just datatype, name, starting value, and reset to default

if reset to default add line to reset function to do name = value

icewolfz commented 2 months ago

a1115b2ecb192ac064514c6962f210dceeb732fa adds backend support for varibles and code generation, only lacks editor and gui sysems

icewolfz commented 2 months ago

Add better back end support for function type, maybe auto create code stub like other places if not one defined in the function list, also pass the code into the format function system to better format the code

icewolfz commented 2 months ago

Back end code systems now will handle code stubs for function type and if name is not defined in function list will create a code stub Back end code for mixed type if the value is wrapped in (: :) closure brakcets will create code stub if not in function and a valid identify