Skip to content

Commit

Permalink
Added new item and uplink updated
Browse files Browse the repository at this point in the history
Added shadowlight and mod pack for new uplink items
  • Loading branch information
HardexZ committed Jan 28, 2024
1 parent 703b830 commit e93b613
Show file tree
Hide file tree
Showing 7 changed files with 70 additions and 0 deletions.
1 change: 1 addition & 0 deletions modular_ss220/modular_ss220.dme
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@
#include "phrases/_phrases.dme"
#include "species_whitelist/_species_whitelist.dme"
#include "antagonists/_antagonists.dme"
#include "uplink_items/_uplink_items.dme"

// --- PRIME --- //
// #define MODPACK_MAIN_ONLY
Expand Down
32 changes: 32 additions & 0 deletions modular_ss220/objects/_objects.dme
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,35 @@
#include "code/musician.dm"
#include "code/flag.dm"
#include "code/wallets.dm"
#include "code/flashlight.dm"
// BEGIN_INTERNALS
// END_INTERNALS
// BEGIN_FILE_DIR
#define FILE_DIR .
// END_FILE_DIR
// BEGIN_PREFERENCES
// END_PREFERENCES
// BEGIN_INCLUDE
#include "_objects.dm"
#include "code\beach_umbrella.dm"
#include "code\beretta.dm"
#include "code\big_bed.dm"
#include "code\billboard.dm"
#include "code\card_skins.dm"
#include "code\closets.dm"
#include "code\flag.dm"
#include "code\hampters.dm"
#include "code\key.dm"
#include "code\mattress.dm"
#include "code\miscellaneous.dm"
#include "code\musician.dm"
#include "code\officetoys.dm"
#include "code\papershredder.dm"
#include "code\plastic_chair.dm"
#include "code\platform.dm"
#include "code\posters.dm"
#include "code\tribune.dm"
#include "code\wallets.dm"
#include "code\weapons.dm"
#include "code\mecha\lockermech.dm"
// END_INCLUDE
9 changes: 9 additions & 0 deletions modular_ss220/objects/code/flashlight.dm
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
/obj/item/flashlight/shadowlight
name = "flashlight"
desc = "A hand-held emergency light."
icon = 'modular_ss220/objects/icons/lighting.dmi'
icon_state = "shadowlight"
item_state = "shadowlight"
brightness_on = 3 // A little better than the standard flashlight.
light_power = -2
hitsound = 'sound/weapons/genhit1.ogg'
Binary file added modular_ss220/objects/icons/lighting.dmi
Binary file not shown.
8 changes: 8 additions & 0 deletions modular_ss220/uplink_items/_uplink_items.dm
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
/datum/modpack/example
/// A string name for the modpack. Used for looking up other modpacks in init.
name = "Uplink items"
/// A string desc for the modpack. Can be used for modpack verb list as description.
desc = "Модуль предметов для аплинка"
/// A string with authors of this modpack.
author = "HardexZ/TheReal"

12 changes: 12 additions & 0 deletions modular_ss220/uplink_items/_uplink_items.dme
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
#include "_uplink_items.dm"

#include "code/uplink_general.dm"
// BEGIN_INTERNALS
// END_INTERNALS
// BEGIN_FILE_DIR
#define FILE_DIR .
// END_FILE_DIR
// BEGIN_PREFERENCES
// END_PREFERENCES
// BEGIN_INCLUDE
// END_INCLUDE
8 changes: 8 additions & 0 deletions modular_ss220/uplink_items/code/uplink_general.dm
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
/datum/uplink_item/device_tools/shadowlight
name = "Shadowlight"
desc = "A gadget disguised as a flashlight that literally creates darkness within a certain radius. \
Envelop yourself in darkness and hide from prying eyes. \
Does not work in bright light. "
reference = "SHAD"
item = /obj/item/flashlight/shadowlight
cost = 20

0 comments on commit e93b613

Please sign in to comment.