Pastebin

New pastes are no longer accepted · Stats

Latest Pastes

bool Harvestable use harvesting system b

// +-------------------------------------------------------+
// | WARNING: Do not copy this file. It is only an example |
// +-------------------------------------------------------+
/*...*/
			case Chest:
			case HarvestTree:
			case BankVault:
			case MapEdge:
			case Board1:
			case Board2:
			case Board3:
			case Board4:
			case Board5:
			case Board6:
			case Board7:
			case Board8:
			case Jukebox:
				return false;
			case NPCBoundary:
				return !npc;
			default:
				return true;
		}
	}

    bool Harvestable()
    {
        switch (this->tilespec)
        {
            case HarvestTree:
                return true;
            default:
				return false;
        }
    }

	SCRIPT_REGISTER_REF_DF(Map_Tile)
		SCRIPT_REGISTER_ENUM("Map_Tile_TileSpec")
/*...*/
			SCRIPT_REGISTER_ENUM_VALUE(None);