inform6lib 0.1.3 → 0.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/inform/parserm.h.rb +3 -3
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 67d43a91363dccdbd3470eda7c3dd46a2afcb3face3cafeaf4fcec1a58228dd0
|
|
4
|
+
data.tar.gz: f70a79847dc16624691bfdc018157d22855065209e6e1b2ffb58fda5e7e945d8
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e7c8338747716e068f2295f1070d666752fee22cf2092943a0e0b97215d8dd9cd3dda9d7c233160cad110695f027cdea64021a45d83aec81b83dfde98b1d8962
|
|
7
|
+
data.tar.gz: f6060216dca42a2232080ca6e36113c9ae549ceed031906e8f233cb1c5f9d9dfc1514a0315c95bb4b0d0ad1d23b01880de09cff7bdf2fac8405c7f9c12a3ac4d
|
data/lib/inform/parserm.h.rb
CHANGED
|
@@ -4768,7 +4768,7 @@ module Parser
|
|
|
4768
4768
|
when String then print "<string ~#{o}~>"; return true
|
|
4769
4769
|
when NilClass then print "<illegal object number " + o + ">"; return true
|
|
4770
4770
|
end
|
|
4771
|
-
if o == player then print YOURSELF__TX; return true; end
|
|
4771
|
+
if o == @player then print YOURSELF__TX; return true; end
|
|
4772
4772
|
if defined? LanguagePrintShortName
|
|
4773
4773
|
return true if LanguagePrintShortName(o)
|
|
4774
4774
|
end # LanguagePrintShortName
|
|
@@ -5529,7 +5529,7 @@ class InformLibrary < Inform::Ephemeral::Object
|
|
|
5529
5529
|
|
|
5530
5530
|
def NoteObjectAcquisitions
|
|
5531
5531
|
return if defined?(MULTI_PLAYER)
|
|
5532
|
-
player.objectloop do |i|
|
|
5532
|
+
@player.objectloop do |i|
|
|
5533
5533
|
if i.hasnt?(:moved)
|
|
5534
5534
|
give i, :moved
|
|
5535
5535
|
if i.has?(:scored)
|
|
@@ -5557,7 +5557,7 @@ class InformLibrary < Inform::Ephemeral::Object
|
|
|
5557
5557
|
def LoopOverScope(routine, act)
|
|
5558
5558
|
p1 = @parser_one; sr = @scope_reason; a = @actor; al = @actors_location
|
|
5559
5559
|
@parser_one = routine;
|
|
5560
|
-
if act.nil? then @actor = act else @actor = player end
|
|
5560
|
+
if act.nil? then @actor = act else @actor = @player end
|
|
5561
5561
|
@actors_location = ScopeCeiling(@actor)
|
|
5562
5562
|
@scope_reason = scope_reason = LOOPOVERSCOPE_REASON
|
|
5563
5563
|
SearchScope(@actors_location, @actor, scope_reason)
|