Skip to content

Commit

Permalink
Fix traps scene pids and compile gl_apcost
Browse files Browse the repository at this point in the history
  • Loading branch information
phobos2077 committed May 8, 2023
1 parent 0151784 commit c16400f
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 10 deletions.
Binary file added root/data/scripts/gl_apcost.int
Binary file not shown.
Binary file modified root/data/scripts/gl_traps.int
Binary file not shown.
Binary file modified root/data/scripts/test2.int
Binary file not shown.
12 changes: 6 additions & 6 deletions scripts_src/_pbs_headers/ecco.h
Original file line number Diff line number Diff line change
Expand Up @@ -77,12 +77,12 @@
#define PID_PBS_SHOTGUN_BUCKS (641)

// new scenery
#define PID_PBS_SPIKE_TRAP_DISARMED (0x02000000 + 2301)
#define PID_PBS_SPIKE_TRAP (0x02000000 + 2302)
#define PID_PBS_MINE_DISARMED (0x02000000 + 2303)
#define PID_PBS_MINE (0x02000000 + 2304)
#define PID_PBS_SENSOR_MINE_DISARMED (0x02000000 + 2305)
#define PID_PBS_SENSOR_MINE (0x02000000 + 2306)
#define PID_PBS_SPIKE_TRAP_DISARMED (0x02000000 + 2335)
#define PID_PBS_SPIKE_TRAP (0x02000000 + 2336)
#define PID_PBS_MINE_DISARMED (0x02000000 + 2337)
#define PID_PBS_MINE (0x02000000 + 2338)
#define PID_PBS_SENSOR_MINE_DISARMED (0x02000000 + 2339)
#define PID_PBS_SENSOR_MINE (0x02000000 + 2340)
// some old scenery
#define PID_STEAM (0x020004A4)
#define PID_STEAM_2 (0x0200073B)
Expand Down
8 changes: 4 additions & 4 deletions scripts_src/_pbs_main/gl_apcost.ssl
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@

*/

#include "sfall.h"
#include "mod.h"
#include "lib.inven.h"
#include "lib.math.h"
#include "../sfall/sfall.h"
#include "../sfall/lib.inven.h"
#include "../sfall/lib.math.h"
#include "../_pbs_headers/ecco.h"

#define ITEM_USE_COST (2)

Expand Down

0 comments on commit c16400f

Please sign in to comment.