about to start work on downtown
This commit is contained in:
@ -21,6 +21,15 @@ uint16_t conversationInteractTileInit(
|
||||
case TILE_WATER:
|
||||
textboxSetText(NULL, "tiles.water.interact");
|
||||
break;
|
||||
|
||||
case TILE_LAMP:
|
||||
textboxSetText(NULL, "tiles.lamp.interact");
|
||||
break;
|
||||
|
||||
case TILE_RAIL_SLEEPER:
|
||||
case TILE_RAIL_TRACK:
|
||||
textboxSetText(NULL, "tiles.rail.interact");
|
||||
break;
|
||||
|
||||
default:
|
||||
assertUnreachable("Invalid tile interaction!");
|
||||
|
@ -68,6 +68,9 @@ void entityInteractTile(
|
||||
|
||||
switch(tile) {
|
||||
case TILE_WATER:
|
||||
case TILE_LAMP:
|
||||
case TILE_RAIL_SLEEPER:
|
||||
case TILE_RAIL_TRACK:
|
||||
source->state = ENTITY_STATE_TALKING;
|
||||
conversationSet(
|
||||
conversationInteractTileInit,
|
||||
|
@ -74,6 +74,11 @@ bool_t tileIsSolid(const tile_t tile) {
|
||||
case TILE_WATER:
|
||||
case TILE_BUILDING_WALL:
|
||||
case TILE_ROOF:
|
||||
case TILE_RAILING:
|
||||
case TILE_COLUMN:
|
||||
case TILE_RAIL_SLEEPER:
|
||||
case TILE_RAIL_TRACK:
|
||||
case TILE_LAMP:
|
||||
return true;
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user