Skip to content

Commit

Permalink
Merge pull request #7 from OpenGOAL-Mods/break-creats-if-orb-warp-is-…
Browse files Browse the repository at this point in the history
…true

Only dont pick up orbs if warp on orb is on
  • Loading branch information
Zedb0T authored Apr 8, 2024
2 parents fe04916 + c1150b3 commit 38bafc5
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions goal_src/jak1/engine/common-obs/crates.gc
Original file line number Diff line number Diff line change
Expand Up @@ -798,14 +798,14 @@
(if (nonzero? (-> self sound))
(stop! (-> self sound))
)
;; (if (and *target*
;; (and (logtest? (-> *target* control root-prim prim-core action) (collide-action racer snowball tube flut))
;; (!= (-> self fact pickup-type) 6)
;; (not arg0)
;; )
;; )
;; (logior! (-> self fact options) (fact-options instant-collect))
;; )
(if (and *target* (not (-> *randomizer-settings* warp-on-orb?))
(and (logtest? (-> *target* control root-prim prim-core action) (collide-action racer snowball tube flut))
(!= (-> self fact pickup-type) 6)
(not arg0)
)
)
(logior! (-> self fact options) (fact-options instant-collect))
)
(when (not arg0)
(let ((s5-1 (current-time)))
(until (time-elapsed? s5-1 (seconds 0.04))
Expand Down

0 comments on commit 38bafc5

Please sign in to comment.