Skip to content

Commit

Permalink
Fix RXP @party_members, add System start location helper, make Object…
Browse files Browse the repository at this point in the history
…DB errors more detailed.
  • Loading branch information
20kdc committed Oct 27, 2017
1 parent 223b226 commit 4b64c85
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/main/java/r48/dbs/ObjectDB.java
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ public void ensureSaved(String id, RubyIO rio) {
newlyCreatedObjects.remove(rio);
} catch (Exception ioe) {
// ERROR!
AppMain.launchDialog(TXDB.get("Error: ") + ioe);
AppMain.launchDialog(TXDB.get("Error saving object: ") + id + "\n" + ioe);
ioe.printStackTrace();
}
}
Expand Down
5 changes: 4 additions & 1 deletion src/main/resources/assets/RXP/SchemaFiles.txt
Original file line number Diff line number Diff line change
Expand Up @@ -337,7 +337,9 @@ C name Class.RPG::State @id @name | State #A: #B
@gameover_me RPG::AudioFile
@battler_name f_battler_name
@battler_hue hue
@party_members subwindow array 0 OPAQUE
Believe it or not, not AL1 (see OneShot remake, Melolune)
The behavior appears to be that the player's party is given the first actor in the database.
@party_members subwindow array 0 actor_id
@battle_transition string
@test_battlers subwindow array 0 subwindow RPG::System::TestBattler
@test_troop_id int
Expand All @@ -347,6 +349,7 @@ C name Class.RPG::State @id @name | State #A: #B
@start_x int= 1
@start_y int= 1
@start_map_id int= 1
+mapPositionHelper @start_map_id @start_x @start_y
@edit_map_id int= 1

> File.System RPG::System
Expand Down

0 comments on commit 4b64c85

Please sign in to comment.