File tree Expand file tree Collapse file tree 2 files changed +10
-7
lines changed
pets-gd/assets/itemregistries Expand file tree Collapse file tree 2 files changed +10
-7
lines changed Original file line number Diff line number Diff line change 2
2
"trusty_rusty_pistol" : {
3
3
"attributes" : [
4
4
" Cheap" ,
5
- " Ranged" ,
6
- " Firearm"
5
+ " Ranged"
7
6
],
8
7
"category" : {
9
8
"Equipment" : {
19
18
"epsilon" : 0 ,
20
19
"lambda" : 0 ,
21
20
"max_mana" : 0
22
- }
21
+ },
22
+ "equippable_by" : [
23
+ " Terra"
24
+ ]
23
25
}
24
26
}
25
27
}
Original file line number Diff line number Diff line change @@ -62,7 +62,6 @@ impl IObject for StatsInterface {
62
62
fn init ( base : Base < Object > ) -> Self {
63
63
// start an empty save file, but load other if the player
64
64
// picks a save file instead of "new"
65
- print_debug_crap ( ) ;
66
65
let save = SaveFile :: fresh ( ) ;
67
66
68
67
load_item_registry ( ) ;
@@ -71,6 +70,8 @@ impl IObject for StatsInterface {
71
70
// randomize seed for godot
72
71
randomize ( ) ;
73
72
73
+ print_debug_crap ( ) ;
74
+
74
75
Self { base, save }
75
76
}
76
77
}
@@ -79,7 +80,7 @@ impl IObject for StatsInterface {
79
80
/// it'll run when the game starts
80
81
fn print_debug_crap ( ) {
81
82
// let ser = crate::stats::charmap::default_charmap();
82
- let ser = CharMap :: _debugging_charmap ( ) ;
83
- let ser = serde_json:: to_string ( & ser) . unwrap ( ) ;
84
- godot_print ! ( "{}" , ser) ;
83
+ // let ser = CharMap::_debugging_charmap();
84
+ // let ser = serde_json::to_string(&ser).unwrap();
85
+ // godot_print!("{}", ser);
85
86
}
You can’t perform that action at this time.
0 commit comments