Skip to content
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

Ghoul tweak (Ещё попытка) #235

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion code/__DEFINES/tools.dm
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Tool types
#define TOOL_CROWBAR "Crowbar"
#define TOOL_MULTITOOL "Multitool"
#define TOOL_MULTITOOL "Voltage Scanner"
#define TOOL_SCREWDRIVER "Screwdriver"
#define TOOL_WIRECUTTER "Wirecutter"
#define TOOL_WRENCH "Wrench"
Expand Down
1 change: 0 additions & 1 deletion code/game/objects/items/devices/multitool.dm
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
righthand_file = 'icons/mob/inhands/equipment/tools_righthand.dmi'
force = 5
w_class = WEIGHT_CLASS_SMALL
tool_behaviour = TOOL_MULTITOOL
throwforce = 0
throw_range = 7
throw_speed = 3
Expand Down
40 changes: 25 additions & 15 deletions code/modules/mob/living/simple_animal/hostile/dungeonmobs.dm
Original file line number Diff line number Diff line change
Expand Up @@ -43,16 +43,16 @@

/mob/living/simple_animal/hostile/dungemobs/ghoul/Initialize()
. = ..()
icon_state = "retro_ghoul-[rand(1,10)]"
icon_living = "retro_ghoul-[rand(1,10)]"
icon_state += "-[rand(1,10)]"
icon_living = icon_state
icon_dead = icon_living + "_d"



/mob/living/simple_animal/hostile/dungemobs/ghoul/reaver
name = "feral ghoul reaver"
desc = "A ghoul that has lost it's mind and become aggressive. This one is strapped with metal armor, and appears far stronger."
icon = 'icons/mob/wastemobs.dmi'
icon_state = "ghoulreaver"
icon_living = "ghoulreaver"
icon_dead = "ghoulreaver_dead"
speed = 2
maxHealth = 100
health = 100
Expand All @@ -62,6 +62,9 @@

/mob/living/simple_animal/hostile/dungemobs/ghoul/reaver/Initialize()
. = ..()
icon_state = "ghoulreaver"
icon_living = "ghoulreaver"
icon_dead = "ghoulreaver_d"

/mob/living/simple_animal/hostile/dungemobs/ghoul/reaver/Aggro()
..()
Expand All @@ -70,7 +73,7 @@
/mob/living/simple_animal/hostile/dungemobs/ghoul/coldferal
name = "cold ghoul feral"
desc = "A ghoul that has lost it's mind and become aggressive. This one is strapped with metal armor, and appears far stronger."
icon = 'icons/mob/wastemobs.dmi'
icon = 'icons/mob/ghouls.dmi'
icon_state = "cold_feral"
icon_living = "cold_feral"
icon_dead = "cold_feral_dead"
Expand All @@ -84,7 +87,7 @@
/mob/living/simple_animal/hostile/dungemobs/ghoul/frozenreaver
name = "frozen ghoul reaver"
desc = "A ghoul that has lost it's mind and become aggressive. This one is strapped with metal armor, and appears far stronger."
icon = 'icons/mob/wastemobs.dmi'
icon = 'icons/mob/ghouls.dmi'
icon_state = "frozen_reaver"
icon_living = "frozen_reaver"
icon_dead = "frozen_reaver_dead"
Expand All @@ -98,8 +101,8 @@
/mob/living/simple_animal/hostile/dungemobs/ghoul/glowing
name = "glowing feral ghoul"
desc = "A feral ghoul that has absorbed massive amounts of radiation, causing them to glow in the dark and radiate constantly."
icon_state = "retro_glowghoul-6"
icon_living = "retro_glowghoul-6"
icon_state = "retro_glowghoul"
icon_living = "retro_glowghoul"
icon_dead = "retro_glowghoul_d"
maxHealth = 80
health = 80
Expand Down Expand Up @@ -127,8 +130,6 @@
/mob/living/simple_animal/hostile/dungemobs/ghoul/glowing/Initialize()
. = ..()
set_light(2)
icon_state = "retro_glowghoul-[rand(1,10)]"
icon_living = "retro_glowghoul-[rand(1,10)]"

/mob/living/simple_animal/hostile/dungemobs/ghoul/glowing/Aggro()
..()
Expand Down Expand Up @@ -196,7 +197,7 @@
/mob/living/simple_animal/hostile/dungemobs/ghoul/soldier
name = "Ghoul Soldier"
desc = "Have you ever seen a living ghoul before?<br>Ghouls are necrotic post-humans - decrepit, rotting, zombie-like mutants."
icon = 'icons/mob/wastemobs.dmi'
icon = 'icons/mob/ghouls.dmi'
icon_state = "soldier_ghoul"
icon_living = "soldier_ghoul"
icon_dead = "soldier_ghoul_d"
Expand All @@ -207,7 +208,7 @@
/mob/living/simple_animal/hostile/dungemobs/ghoul/soldier/armored
name = "Armored Ghoul Soldier"
desc = "Have you ever seen a living ghoul before?<br>Ghouls are necrotic post-humans - decrepit, rotting, zombie-like mutants."
icon = 'icons/mob/wastemobs.dmi'
icon = 'icons/mob/ghouls.dmi'
icon_state = "soldier_ghoul_a"
icon_living = "soldier_ghoul_a"
icon_dead = "soldier_ghoul_a_d"
Expand All @@ -218,7 +219,7 @@
/mob/living/simple_animal/hostile/dungemobs/ghoul/scorched
name = "Scorched Ghoul Soldier"
desc = "Have you ever seen a living ghoul before?<br>Ghouls are necrotic post-humans - decrepit, rotting, zombie-like mutants."
icon = 'icons/mob/wastemobs.dmi'
icon = 'icons/mob/ghouls.dmi'
icon_state = "scorched_m"
icon_living = "scorched_m"
icon_dead = "scorched_m_d"
Expand All @@ -240,11 +241,16 @@
attacktext = "punches"
attack_sound = "punch"

/mob/living/simple_animal/hostile/dungemobs/ghoul/scorched/Initialize()
. = ..()
icon_state = "scorched_m-[rand(1,5)]"
icon_living = icon_state
icon_dead = icon_state + "_d"

/mob/living/simple_animal/hostile/dungemobs/ghoul/scorched/ranged
name = "Ranged Ghoul Solder"
desc = "Have you ever seen a living ghoul before?<br>Ghouls are necrotic post-humans - decrepit, rotting, zombie-like mutants."
icon = 'icons/mob/wastemobs.dmi'
icon = 'icons/mob/ghouls.dmi'
icon_state = "scorched_r"
icon_living = "scorched_r"
icon_dead = "scorched_r_d"
Expand All @@ -269,6 +275,10 @@
attacktext = "shoots"
attack_sound = "punch"

/mob/living/simple_animal/hostile/dungemobs/ghoul/scorched/ranged/Initialize()
. = ..()
icon_state = "scorched_r-[rand(1,5)]"
icon_living = icon_state

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Кринж вылез

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

блин блять...всё-таки файлы поломались от этих ваших гитхубов

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Файлы поломались потому что у тебя с головой проблемы


//////////////////////////Super Mutants////////////////////////

Expand Down
8 changes: 4 additions & 4 deletions code/modules/mob/living/simple_animal/hostile/ghoul.dm
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@

var/multiple_sprites = TRUE

/mob/living/simple_animal/hostile/ghoul/New()
/mob/living/simple_animal/hostile/ghoul/Initialize()
. = ..()
if(multiple_sprites)
icon_state = initial(icon_state) + "-[rand(1,10)]"
Expand Down Expand Up @@ -195,7 +195,7 @@
maxHealth = 90
health = 90

/mob/living/simple_animal/hostile/ghoul/soldier/New()
/mob/living/simple_animal/hostile/ghoul/soldier/Initialize()
. = ..()
if(multiple_sprites)
icon_state = initial(icon_state) + "-[rand(1,10)]"
Expand Down Expand Up @@ -238,7 +238,7 @@
attacktext = "punches"
attack_sound = "punch"

/mob/living/simple_animal/hostile/ghoul/scorched/New()
/mob/living/simple_animal/hostile/ghoul/scorched/Initialize()
. = ..()
if(multiple_sprites)
icon_state = initial(icon_state) + "-[rand(1,5)]"
Expand Down Expand Up @@ -271,4 +271,4 @@
melee_damage_upper = 20
aggro_vision_range = 10
attacktext = "shoots"
attack_sound = "punch"
attack_sound = "punch"

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

EOF

Binary file modified icons/mob/ghouls.dmi
Binary file not shown.
Binary file modified icons/mob/inhands/weapons/melee_righthand.dmi
Binary file not shown.
Binary file modified icons/mob/uniform.dmi
Binary file not shown.
Binary file modified icons/mob/wastemobs.dmi
Binary file not shown.
Binary file modified icons/obj/clothing/uniforms.dmi
Binary file not shown.