forked from ParadiseSS13/Paradise
-
Notifications
You must be signed in to change notification settings - Fork 127
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feat: Port Dunes (Arrakis) objects & turfs. Adds fur crafting #1519
Draft
dj-34
wants to merge
4
commits into
ss220club:master
Choose a base branch
from
dj-34:dunes_objects_turfs_and_mobs
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Changes from all commits
Commits
Show all changes
4 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
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,77 @@ | ||
// 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!")) | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Можно и перевести же тучаты |
||
return | ||
if(!Adjacent(user)) | ||
return | ||
if(anchored) | ||
to_chat(user, span_warning("[src] is anchored to the floor!")) | ||
return | ||
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.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Раз уж ты сделал модуль для крафтов, не хочешь заодно все крафты собрать сюда?