forked from ParadiseSS13/Paradise
-
Notifications
You must be signed in to change notification settings - Fork 130
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add: More desert-themed objects and turfs, craftable carpets & fur cl…
…othing
- Loading branch information
Showing
21 changed files
with
245 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
/datum/modpack/crafting | ||
name = "Crafting" | ||
desc = "Дополняет/изменяет крафт имеющихся вещей из различных материалов." | ||
author = "dj-34" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
#include "_crafting.dm" | ||
|
||
#include "code/crafting.dm" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
// Fur recipes | ||
/obj/item/stack/sheet/fur/New(loc, amount=null) | ||
recipes = GLOB.fur_recipes | ||
..() | ||
|
||
GLOBAL_LIST_INIT(fur_recipes, list( | ||
new /datum/stack_recipe_list("fur clothings", list( | ||
new /datum/stack_recipe("fur cap", /obj/item/clothing/head/furcap, 2), | ||
new /datum/stack_recipe("fur cape", /obj/item/clothing/suit/furcape, 3), | ||
new /datum/stack_recipe("fur coat", /obj/item/clothing/suit/furcoat, 3), | ||
new /datum/stack_recipe("fur gloves", /obj/item/clothing/gloves/furgloves, 3), | ||
new /datum/stack_recipe("fur boots", /obj/item/clothing/shoes/furboots, 2), | ||
)), | ||
null, | ||
new /datum/stack_recipe_list("fur carpets", list( | ||
new /datum/stack_recipe("red carpet", /obj/structure/fluff/carpet, 4), | ||
new /datum/stack_recipe("blue carpet", /obj/structure/fluff/carpet/blue, 4), | ||
new /datum/stack_recipe("yellow carpet", /obj/structure/fluff/carpet/yellow, 4), | ||
new /datum/stack_recipe("green carpet", /obj/structure/fluff/carpet/green, 4), | ||
null, | ||
new /datum/stack_recipe("small red carpet", /obj/structure/fluff/carpet/small, 3), | ||
new /datum/stack_recipe("small yellow carpet", /obj/structure/fluff/carpet/small/yellow, 3), | ||
new /datum/stack_recipe("small white carpet", /obj/structure/fluff/carpet/small/white, 3), | ||
)), | ||
)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,78 @@ | ||
// Columns | ||
/obj/structure/fluff/column | ||
name = "column" | ||
desc = "Очень старая, массивная колонна." | ||
icon = 'modular_ss220/objects/icons/columns.dmi' | ||
icon_state = "column1" | ||
layer = ABOVE_ALL_MOB_LAYER | ||
deconstructible = FALSE | ||
density = TRUE | ||
|
||
/obj/structure/fluff/column/Initialize(mapload) | ||
. = ..() | ||
AddComponent(/datum/component/largetransparency) | ||
|
||
// Large remains | ||
/obj/structure/fluff/remains_large | ||
name = "large remains" | ||
desc = "Белеющие на солнце кости местной фауны." | ||
icon = 'modular_ss220/objects/icons/remains_large.dmi' | ||
icon_state = "rib" | ||
layer = ABOVE_ALL_MOB_LAYER | ||
deconstructible = FALSE | ||
density = TRUE | ||
|
||
/obj/structure/fluff/remains_large/Initialize(mapload) | ||
. = ..() | ||
AddComponent(/datum/component/largetransparency) | ||
|
||
// Carpets | ||
/obj/structure/fluff/carpet | ||
name = "red carpet" | ||
desc = "Шерстяной ковер, украшенный различными узорами." | ||
icon = 'modular_ss220/objects/icons/carpets.dmi' | ||
icon_state = "carpet1" | ||
max_integrity = 50 | ||
layer = LOW_OBJ_LAYER | ||
anchored = FALSE | ||
deconstructible = FALSE | ||
|
||
/obj/structure/fluff/carpet/AltClick(mob/user) | ||
. = ..() | ||
if(user.incapacitated()) | ||
to_chat(user, span_warning("You can't do that right now!")) | ||
return | ||
if(!Adjacent(user)) | ||
return | ||
if(anchored) | ||
to_chat(user, span_warning("[src] is anchored to the floor!")) | ||
return | ||
user.changeNext_move(CLICK_CD_MELEE) | ||
setDir(turn(dir, 90)) | ||
|
||
/obj/structure/fluff/carpet/blue | ||
name = "blue carpet" | ||
icon_state = "carpet2" | ||
|
||
/obj/structure/fluff/carpet/yellow | ||
name = "yellow carpet" | ||
icon_state = "carpet3" | ||
|
||
/obj/structure/fluff/carpet/green | ||
name = "green carpet" | ||
icon_state = "carpet4" | ||
|
||
// Carpets small | ||
/obj/structure/fluff/carpet/small | ||
name = "small red carpet" | ||
desc = "Небольшой ковер, украшенный различными узорами." | ||
icon = 'modular_ss220/objects/icons/carpets_small.dmi' | ||
icon_state = "carpet_small1" | ||
|
||
/obj/structure/fluff/carpet/small/yellow | ||
name = "small yellow carpet" | ||
icon_state = "carpet_small2" | ||
|
||
/obj/structure/fluff/carpet/small/white | ||
name = "small white carpet" | ||
icon_state = "carpet_small3" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,75 @@ | ||
// MARK: Trees | ||
/obj/structure/flora/tree/desert/joshua | ||
name = "yucca palm" | ||
icon = 'modular_ss220/objects/icons/flora/desert_tree.dmi' | ||
icon_state = "joshua1" | ||
|
||
/obj/structure/flora/tree/desert/joshua/Initialize(mapload) | ||
. = ..() | ||
icon_state = "joshua[rand(1, 8)]" | ||
|
||
/obj/structure/flora/tree/desert/dead | ||
name = "dead tree" | ||
icon = 'modular_ss220/objects/icons/flora/desert_tree.dmi' | ||
icon_state = "dead1" | ||
|
||
/obj/structure/flora/tree/desert/dead/Initialize(mapload) | ||
. = ..() | ||
icon_state = "dead[rand(1, 6)]" | ||
|
||
/obj/structure/flora/tree/desert/big | ||
name = "long dead tree" | ||
icon = 'modular_ss220/objects/icons/flora/desert_tree_big.dmi' | ||
icon_state = "dead_tree1" | ||
|
||
/obj/structure/flora/tree/desert/big/Initialize(mapload) | ||
. = ..() | ||
icon_state = "dead_tree[rand(1, 4)]" | ||
|
||
/obj/structure/flora/tree/desert/medpine | ||
icon = 'modular_ss220/objects/icons/flora/desert_tree.dmi' | ||
icon_state = "medpine" | ||
|
||
/obj/structure/flora/tree/desert/african | ||
icon = 'modular_ss220/objects/icons/flora/desert_tree.dmi' | ||
icon_state = "african" | ||
|
||
// MARK: Cactuses | ||
/obj/structure/flora/tree/cactus | ||
name = "cactus" | ||
icon = 'modular_ss220/objects/icons/flora/cactus.dmi' | ||
icon_state = "cactus1" | ||
pixel_x = 0 | ||
|
||
/obj/structure/flora/tree/cactus/Initialize(mapload) | ||
. = ..() | ||
icon_state = "cactus[rand(1, 2)]" | ||
pixel_x = rand(-5, 5) | ||
pixel_y = rand(-5, 5) | ||
|
||
/obj/structure/flora/tree/cactus/little | ||
icon_state = "little_cactus1" | ||
density = FALSE | ||
layer = BELOW_OBJ_LAYER | ||
|
||
/obj/structure/flora/tree/cactus/little/Initialize(mapload) | ||
. = ..() | ||
icon_state = "little_cactus[rand(1, 6)]" | ||
|
||
/obj/structure/flora/tree/cactus/circle | ||
icon_state = "circle_cactus1" | ||
density = FALSE | ||
layer = BELOW_OBJ_LAYER | ||
|
||
/obj/structure/flora/tree/cactus/circle/Initialize(mapload) | ||
. = ..() | ||
icon_state = "circle_cactus[rand(1, 6)]" | ||
|
||
/obj/structure/flora/tree/cactus/flat | ||
icon_state = "flat_cactus1" | ||
density = FALSE | ||
layer = BELOW_OBJ_LAYER | ||
|
||
/obj/structure/flora/tree/cactus/flat/Initialize(mapload) | ||
. = ..() | ||
icon_state = "flat_cactus[rand(1, 3)]" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.