forked from Foundation-19/Foundation-19
-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #37 from xhankaishi/dcp096-module
добиваем 096
- Loading branch information
Showing
9 changed files
with
68 additions
and
5 deletions.
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
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,16 @@ | ||
/datum/modpack/SCP096 | ||
/// A string name for the modpack. Used for looking up other modpacks in init. | ||
name = "SCP096" | ||
/// A string desc for the modpack. Can be used for modpack verb list as description. | ||
desc = "-" | ||
/// A string with authors of this modpack. | ||
author = "XAH" | ||
|
||
/datum/modpack/SCP096/pre_initialize() | ||
. = ..() | ||
|
||
/datum/modpack/SCP096/initialize() | ||
. = ..() | ||
|
||
/datum/modpack/SCP096/post_initialize() | ||
. = ..() |
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,6 @@ | ||
#include "_SCP096.dm" | ||
|
||
#include "code/_macros.dm" | ||
#include "code/SCP096.dm" | ||
#include "code/SCP096_OBJ.dm" | ||
#include "code/keybinds.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,11 @@ | ||
|
||
/mob/living/scp096/get_status_tab_items() | ||
. = ..() | ||
. += "Real Name: [target.real_name]" | ||
. += "Job: [target.job]" | ||
|
||
/mob/living/scp096/proc/stop_scream() | ||
current_state = STATE_096_IDLE | ||
target = null | ||
targets = null //Макросы прерываются в /mob/living/scp096, убрал прерывание одного макроса | ||
update_icon() |
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,13 @@ | ||
/obj/item/photo/scp096/scp096_photo | ||
name = "???? photo" | ||
|
||
/obj/item/photo/scp096/scp096_photo/examine(mob/living/user) | ||
. = ..() | ||
if(!istype(user, /mob/living/scp096)) | ||
var/mob/living/scp096/scp_to_trigger = locate(/mob/living/scp096) in GLOB.SCP_list | ||
if(get_dist(user, src) <= 1 && isliving(user)) // если нужна дистанция юзать get_dist() | ||
scp_to_trigger.trigger(user) | ||
to_chat(user, SPAN_DANGER("You catch [scp_to_trigger]")) | ||
else | ||
to_chat(user, SPAN_NOTICE("It is too far away.")) | ||
|
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,2 @@ | ||
#define CATEGORY_SCP "SCP" | ||
#define isscp096(A) istype(A, /mob/living/scp096) |
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 @@ | ||
/mob/living/scp096/verb/stop_screaming() | ||
set name = "Stop scream" | ||
set category = "IC" | ||
stop_scream() |
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 |
---|---|---|
|
@@ -12,7 +12,7 @@ | |
|
||
// --- OBJECTS --- // | ||
#include "objects/_objects.dme" | ||
|
||
#include "_SCP096.dme" | ||
// --- MISC --- // | ||
|
||
|
||
|