[Scummvm-tracker] [ScummVM] #10753: QFG4: Talking to absent innkeeper

Vhati trac at scummvm.org
Thu Nov 15 21:53:30 CET 2018


#10753: QFG4: Talking to absent innkeeper
-----------------------------+---------------------------------------------
  Reporter:  Vhati           |      Owner:  (none)
      Type:  defect          |     Status:  new
  Priority:  low             |  Component:  Engine: SCI
Resolution:                  |   Keywords:  SCI32 original has-pull-request
      Game:  Quest for       |
  Glory 4                    |
-----------------------------+---------------------------------------------

Comment (by Vhati):

 For completeness, here's how the presence of an innkeeper sprite is
 determined.

 When local2 is 11, but with a further restriction: if it's specifically
 daytime or evening.
     (t <= 3 or t is in [4, 5])

 Adding pre-midnight check (t <= 5) to situation 11 syncs it with the
 sprite's restriction.

 rm320::init()
 {{{
 (if
         (or
                 (== local2 1)
                 (and
                         (proc64999_5 local2 2 4 5 6 7 8 9 10 11 12)
                         (or (proc64999_5 global123 4 5) (<= global123 3))
                 )
         )
         (innKeeper
                 init:
                 setPri: 170
                 approachVerbs: 4
                 setScript: sInnKeeperSmoke
         )
 )
 }}}

--
Ticket URL: <https://bugs.scummvm.org/ticket/10753#comment:14>
ScummVM <https://bugs.scummvm.org>
ScummVM


More information about the Scummvm-tracker mailing list