File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed
Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -284,6 +284,8 @@ export class CurrentMap {
284284
285285 const dirt = this . dirt [ schemaIdx ]
286286 const wall = this . staticMap . walls [ schemaIdx ]
287+ const ratTrap = this . ratTrapData [ schemaIdx ]
288+ const catTrap = this . catTrapData [ schemaIdx ]
287289 const cheeseMine = this . staticMap . cheeseMines . find ( ( r ) => r . x === square . x && r . y === square . y )
288290 const cheese = this . cheeseData [ schemaIdx ]
289291 const srp = this . resourcePatterns . find ( ( r ) => r . center . x === square . x && r . center . y === square . y )
@@ -313,6 +315,12 @@ export class CurrentMap {
313315 if ( dirt ) {
314316 info . push ( 'Dirt' )
315317 }
318+ if ( ratTrap ) {
319+ info . push ( 'Rat Trap' )
320+ }
321+ if ( ratTrap ) {
322+ info . push ( 'Cat Trap' )
323+ }
316324 if ( cheese ) {
317325 info . push ( `Cheese: ${ cheese } ` )
318326 }
You can’t perform that action at this time.
0 commit comments