Skip to content

Placeables

Peter Lahanas edited this page Sep 29, 2023 · 22 revisions

Placeables

General outline

All placeables follow the same basic framework to add cohesiveness and comply better with the ECS model. This includes all stemming from a basic BasePlaceable which adds key components that almost all placeables will share. This allows easy use with (HYPERLINK TO SAVE/LOAD) as everything is very similar in terms of the way they are built. There are also many similarties with the way CropTiles (HYPERLINK TO CROPTILES) were made and as such further aides in the save/loading of them.

ADD A UML DIAGRAM LIKE THE TOOL ONE OF WHAT BASEPLACEABLE HAS IN IT

List of Placeables

Each placeable below extends the BasePlaceable and provides unique features that allow for more interesting game mechanics and features that overall aide in enhancing the feel of the game.

Fence

fence-sprite

Gate

Sprinkler

Pump

Chest

Light

The Light placeable is used as a way to see in the dark and can be received by completing the quests (ENTER QUEST LINK HERE). The only trigger at night time (after WHAT TIME IS NIGHT TIME) and can be extremely helpful in making sure no (HOSTILE MOB HYPERLINK) are attacking your (PLANT HYPERLINK).

The original light sprite was created by Jackson (Team 1):

og-light-sprite

og-light-sprit

The final one was adapted by Liv (Team 2):

light-sprite

light-sprite

The off state was also created by Liv (Team 2):

light-off

Clone this wiki locally