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: Area designer: Add import room/object/monster #298

Open
icewolfz opened this issue Sep 16, 2024 · 0 comments
Open

Code editor: Area designer: Add import room/object/monster #298

icewolfz opened this issue Sep 16, 2024 · 0 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 an option to import a code file into the designer

monsters would be imported into the monster list and as much code would be parsed and saved when possible
objects same as monsters
rooms would be imported over current focused/selected room or by context menu on room

this requires a code parser, there is a basic one in the virtual area editor but it only parses the create function enough to create a basic room preview, the lpc module has tokenizers and such that may be used to read in a file and attempt to parse into usable data possibly its not a fulle antlr or similar code parser, might beable to find a node antlr module and use lpc antlr file from https://github.com/lasorda/antlr-lpc/tree/master

@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 16, 2024
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