theRAPTLab / gsgo

GEM-STEP Foundation repo migrated from GitLab June 2023
1 stars 1 forks source link

Fix "New Character Type" - [merged] #724

Closed benloh closed 1 year ago

benloh commented 2 years ago

Merges dev-bl/fix-new-script -> dev-next

Clicking "New Character Type" on Main now properly opens a new ScriptEditor window with the template blueprint text.

Fixes problem where the new ScriptEditor window would open with a blank blueprint.

Also:

NOTE

Testing

Please make sure all of these creation methods work:

  1. From Main (in non-SETUP mode): Under "CHARACTER TYPE SCRIPTS": "NEW CHARACTER TYPE"
  2. From Main (in SETUP mode): Under "ADD CHARACTERS": "NEW CHARACTER TYPE"
  3. From ScriptEditor "SELECT CHARACTER TYPE" screen "NEW CHARACTER TYPE"
  4. Enter a blank script URL: http://localhost/app/scripteditor?script=

After creating the new blank script, do some editing and submit the script to make sure it is properly added to the project and can run.

benloh commented 2 years ago

requested review from @jdanish

benloh commented 2 years ago

mentioned in commit f1332227e19e7a3fd6ffc4c6d387c194d081ce96