Skip to content

Commit

Permalink
asdfasdfadsfadfs
Browse files Browse the repository at this point in the history
  • Loading branch information
rye-rice committed Nov 10, 2023
1 parent 8022d29 commit c595874
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 1 deletion.
4 changes: 3 additions & 1 deletion code/__DEFINES/overmap.dm
Original file line number Diff line number Diff line change
Expand Up @@ -28,14 +28,15 @@
#define DYNAMIC_WORLD_ROCKPLANET "rockplanet" //wacky planets
#define DYNAMIC_WORLD_BEACHPLANET "beachplanet"
#define DYNAMIC_WORLD_WASTEPLANET "wasteplanet"
#define DYNAMIC_WORLD_WOODS "woods"

#define DYNAMIC_WORLD_REEBE "reebe" //celestial bodies
#define DYNAMIC_WORLD_ASTEROID "asteroid"
#define DYNAMIC_WORLD_SPACERUIN "space"
#define DYNAMIC_WORLD_GAS_GIANT "gas giant"
#define DYNAMIC_WORLD_PLASMA_GIANT "plasma giant"

/// Make sure you are adding new planet types to this, in order as seen above preferrably
/// Make sure you are adding new planet types to this, in order as seen above preferrably // wouldnt it better to look for subtypes of /datum/planet_type instead of looking through this list?
#define DYNAMIC_WORLD_LIST_ALL list(\
DYNAMIC_WORLD_LAVA,\
DYNAMIC_WORLD_ICE,\
Expand All @@ -44,6 +45,7 @@
DYNAMIC_WORLD_ROCKPLANET,\
DYNAMIC_WORLD_BEACHPLANET,\
DYNAMIC_WORLD_WASTEPLANET,\
DYNAMIC_WORLD_WOODS,\
DYNAMIC_WORLD_REEBE,\
DYNAMIC_WORLD_ASTEROID,\
DYNAMIC_WORLD_SPACERUIN,\
Expand Down
3 changes: 3 additions & 0 deletions code/datums/mapgen/single_turf/woodgenerator.dm
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
/datum/map_generator/single_turf/woods
turf_type = /turf/open/floor/plating/dirt/jungle
area_type = /area/overmap_encounter/planetoid/jungle
13 changes: 13 additions & 0 deletions code/modules/overmap/planets/planet_types.dm
Original file line number Diff line number Diff line change
Expand Up @@ -160,3 +160,16 @@
icon_state = "globe"
preserve_level = TRUE
landing_sound = 'sound/effects/planet_landing_1.ogg'

/datum/planet_type/woods
name = "woods planet"
desc = "Go to the woods."
planet = DYNAMIC_WORLD_WOODS
icon_state = "strange_event"
color = COLOR_GREEN
mapgen = /datum/map_generator/single_turf/woods
default_baseturf = /turf/open/floor/plating/dirt/jungle
weather_controller_type = /datum/weather_controller/lush
ruin_type = null
weight = 0
landing_sound = 'sound/effects/planet_landing_1.ogg'
1 change: 1 addition & 0 deletions shiptest.dme
Original file line number Diff line number Diff line change
Expand Up @@ -676,6 +676,7 @@
#include "code\datums\mapgen\single_biome\_SingleBiome.dm"
#include "code\datums\mapgen\single_biome\Gas_Giant.dm"
#include "code\datums\mapgen\single_biome\ReebeGenerator.dm"
#include "code\datums\mapgen\single_turf\woodgenerator.dm"
#include "code\datums\martial\_martial.dm"
#include "code\datums\martial\boxing.dm"
#include "code\datums\martial\cqc.dm"
Expand Down

0 comments on commit c595874

Please sign in to comment.