Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Code editor: Add global variables support #297

Open
icewolfz opened this issue Sep 15, 2024 · 3 comments
Open

Code editor: Add global variables support #297

icewolfz opened this issue Sep 15, 2024 · 3 comments
Labels
Code editor Code editor related issues enhancement A new feature or way to improve a current feature to make it better or offer more uses wishlist Wanted but not required

Comments

@icewolfz
Copy link
Owner

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 icewolfz added enhancement A new feature or way to improve a current feature to make it better or offer more uses wishlist Wanted but not required Code editor Code editor related issues labels Sep 15, 2024
@icewolfz
Copy link
Owner Author

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

@icewolfz
Copy link
Owner Author

icewolfz commented Sep 16, 2024

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
Copy link
Owner Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Code editor Code editor related issues enhancement A new feature or way to improve a current feature to make it better or offer more uses wishlist Wanted but not required
Projects
None yet
Development

No branches or pull requests

1 participant