Skip to content

Commit 7b6f305

Browse files
authored
Merge pull request #1784 from osse101/FishFarm
Convert remaining enemy farms to partial farms where appropriate
2 parents d3f0e2e + 645d108 commit 7b6f305

27 files changed

Lines changed: 186 additions & 49 deletions

region/brinstar/blue/Blue Brinstar Energy Tank Room.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -401,7 +401,8 @@
401401
{"resetRoom": {
402402
"nodes": [1]
403403
}},
404-
{"refill": ["Energy", "Missile"]}
404+
{"refill": ["Missile"]},
405+
{"partialRefill": { "type": "Energy", "limit": 200 }}
405406
]
406407
},
407408
{

region/brinstar/blue/Construction Zone.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,8 @@
9393
{"resetRoom": {
9494
"nodes": [1, 2]
9595
}},
96-
{"refill": ["Energy", "Missile"]}
96+
{ "partialRefill": { "type": "Missile", "limit": 10 } },
97+
{ "partialRefill": { "type": "Energy", "limit": 100 } }
9798
]
9899
},
99100
{

region/brinstar/kraid/Warehouse Energy Tank Room.json

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -96,17 +96,13 @@
9696
{"or": [
9797
"h_canUseMorphBombs",
9898
{"and": [
99+
"Morph",
99100
{"resourceAvailable": [{"type": "Energy", "count": 50}]},
100101
{"or": [
101102
{"ammo": {"type": "Missile", "count": 1}},
102103
{"ammo": {"type": "Super", "count": 1}},
103104
{"ammo": {"type": "PowerBomb", "count": 1}}
104-
]},
105-
{"partialRefill": {
106-
"type": "PowerBomb",
107-
"limit": 1
108-
}},
109-
"h_canUsePowerBombs"
105+
]}
110106
]}
111107
]}
112108
]}

region/brinstar/pink/Waterway Energy Tank Room.json

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,13 @@
133133
"name": "Zero Farm",
134134
"requires": [
135135
"h_heatProof",
136-
{"refill": ["PowerBomb"]}
136+
{"or": [
137+
{"and": [
138+
"Gravity",
139+
{"refill": ["PowerBomb"]}
140+
]},
141+
{"partialRefill": {"type": "PowerBomb", "limit": 6}}
142+
]}
137143
],
138144
"devNote": [
139145
"FIXME: The h_heatProof requirement is because Zeros only drop small energy, not enough to guarantee progress if the neighboring room is heated",

region/brinstar/red/Red Brinstar Fireflea Room.json

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -714,7 +714,14 @@
714714
{"resetRoom": {
715715
"nodes": [2]
716716
}},
717-
{"refill": ["Energy", "PowerBomb"]}
717+
{"refill": ["PowerBomb"]},
718+
{"or": [
719+
{"and": [
720+
"canDodgeWhileShooting",
721+
{"refill": ["Energy"]}
722+
]},
723+
{"partialRefill": {"type": "Energy", "limit": 260}}
724+
]}
718725
],
719726
"resetsObstacles": ["A"]
720727
},

region/crateria/central/Parlor and Alcatraz.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3130,7 +3130,8 @@
31303130
{"resetRoom": {
31313131
"nodes": [3, 4, 6, 7]
31323132
}},
3133-
{"refill": ["Energy", "Missile"]}
3133+
{"refill": ["Missile"]},
3134+
{"partialRefill": {"type": "Energy", "limit": 250}}
31343135
],
31353136
"devNote": "FIXME: Other nodes could be used to reset the room, with additional requirements."
31363137
},

region/crateria/central/Pre-Map Flyway.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,8 @@
148148
{"resetRoom": {
149149
"nodes": [1, 2]
150150
}},
151-
{"refill": ["Energy", "Missile"]}
151+
{"partialRefill": {"type": "Energy", "limit": 160}},
152+
{"partialRefill": {"type": "Missile", "limit": 8}}
152153
]
153154
},
154155
{

region/crateria/east/Crab Maze.json

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,15 @@
107107
{"resetRoom": {
108108
"nodes": [1]
109109
}},
110-
{"refill": ["Energy", "PowerBomb"]}
110+
"Morph",
111+
{"or": [
112+
"Wave",
113+
"Plasma",
114+
"Spazer",
115+
"canUseGrapple"
116+
]},
117+
{"partialRefill": {"type": "PowerBomb", "limit": 5}},
118+
{"partialRefill": {"type": "Energy", "limit": 200}}
111119
]
112120
},
113121
{

region/crateria/west/Terminator Room.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,8 @@
110110
{"resetRoom": {
111111
"nodes": [1, 2]
112112
}},
113-
{"refill": ["Energy", "Missile", "Super"]}
113+
{"refill": ["Energy", "Missile"]},
114+
{"partialRefill": {"type": "Super", "limit": 10}}
114115
]
115116
},
116117
{

region/maridia/inner-green/West Sand Hall Tunnel.json

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,25 @@
132132
],
133133
"note": "Get the shinecharge while killing the crab, then move towards and shinespark out the left door."
134134
},
135+
{
136+
"link": [1, 1],
137+
"name": "Sciser Farm",
138+
"requires": [
139+
"h_canNavigateUnderwater",
140+
{"resetRoom": {
141+
"nodes": [1, 2]
142+
}},
143+
{"partialRefill": {
144+
"type": "Energy",
145+
"limit": 100
146+
}},
147+
{"partialRefill": {
148+
"type": "PowerBomb",
149+
"limit": 3
150+
}}
151+
],
152+
"devNote": "Farm cycle: 6seconds."
153+
},
135154
{
136155
"id": 4,
137156
"link": [1, 1],

0 commit comments

Comments
 (0)