Skip to content

Commit

Permalink
sd
Browse files Browse the repository at this point in the history
  • Loading branch information
Kitsunemitsu committed Oct 15, 2024
1 parent e766e63 commit 18b25fb
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 11 deletions.
17 changes: 10 additions & 7 deletions ModularTegustation/fishing/code/fishing_items/fishing_net.dm
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
var/fishin_cooldown_delay = 1 SECONDS
var/fishin_power = 0.8
var/turf/open/water/deep/open_waters
var/enemy_chance = 15 //chance of getting enemies

/obj/structure/destructible/fishing_net/Initialize()
. = ..()
Expand All @@ -49,15 +50,15 @@
harvest.forceMove(dropoff)
new net_type(dropoff)
if(SSmaptype.maptype in SSmaptype.citymaps)
var/enemy_chance = 30
if(user.god_aligned == FISHGOD_VENUS)
enemy_chance/=2

if(SSfishing.Venus == 2)
enemy_chance/=2

if(prob(enemy_chance))
SpawnEnemy(dropoff, user)
if(enemychance>5) //gotta have more than 5%

Check failure on line 59 in ModularTegustation/fishing/code/fishing_items/fishing_net.dm

View workflow job for this annotation

GitHub Actions / Run Linters

undefined var: "enemychance"
if(prob(enemy_chance))
SpawnEnemy(dropoff, user)
qdel(src)

/obj/structure/destructible/fishing_net/proc/CatchFish()
Expand All @@ -75,9 +76,9 @@
if(prob(1) && SSfishing.Mars == 4)
spawning = /mob/living/simple_animal/hostile/distortion/shrimp_rambo/easy

if(prob(10)) //Super rares first
if(prob(5)) //Super rares first
spawning = /mob/living/simple_animal/hostile/shrimp_soldier
if(prob(30))
if(prob(20))
spawning = pick(/mob/living/simple_animal/hostile/shrimp_rifleman, /mob/living/simple_animal/hostile/senior_shrimp)
else
spawning = /mob/living/simple_animal/hostile/shrimp
Expand All @@ -87,7 +88,7 @@
//Nylon net
/obj/item/fishing_net/nylon
name = "nylon fishing net"
desc = "This tool functions as a aquatic wall you can put down and just harvest the fish that get tangled in it. Nylon nets catch fish significantly faster."
desc = "This tool functions as a aquatic wall you can put down and just harvest the fish that get tangled in it. Nylon nets catch fish significantly faster, and catch less enemies."
icon = 'ModularTegustation/fishing/icons/fishing.dmi'
icon_state = "nylon_net"
w_class = WEIGHT_CLASS_HUGE
Expand All @@ -102,12 +103,13 @@
net_type = /obj/item/fishing_net/nylon
fishin_cooldown = 15 SECONDS
fishin_power = 0.7 //Slightly worse
enemy_chance = 10


//Steel net
/obj/item/fishing_net/steel
name = "steel fishing net"
desc = "This tool functions as a aquatic wall you can put down and just harvest the fish that get tangled in it. Steel nets are slightly slower, but catch better fish"
desc = "This tool functions as a aquatic wall you can put down and just harvest the fish that get tangled in it. Steel nets are slightly slower, but catch better fish and less enemies."
icon = 'ModularTegustation/fishing/icons/fishing.dmi'
icon_state = "steel_net"
w_class = WEIGHT_CLASS_HUGE
Expand All @@ -122,4 +124,5 @@
net_type = /obj/item/fishing_net/steel
fishin_cooldown = 30 SECONDS //Slower.
fishin_power = 1.4
enemy_chance = 10

3 changes: 0 additions & 3 deletions code/game/objects/items/fixerskills/fishing/level2.dm
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,6 @@
//Compile people around you
for(var/mob/living/M in view(4, get_turf(src)))
if(M.god_aligned != M.god_aligned)
var/turf/lightning_source = get_step(get_step(target, NORTH), NORTH)
lightning_source.Beam(target, icon_state="lightning[rand(1,12)]", time = 5)

//Deal a fuckload of damage to athiests
if(M.god_aligned == FISHGOD_NONE)
var/damagedealing = clamp(user.devotion, 1, 50)
Expand Down
2 changes: 1 addition & 1 deletion code/game/objects/items/fixerskills/level1/scavenger.dm
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@

/datum/action/cooldown/skulk
icon_icon = 'icons/hud/screen_skills.dmi'
button_icon_state = "smkulk"
button_icon_state = "skulk"
name = "Skulk"
cooldown_time = 300

Expand Down
Binary file modified icons/hud/screen_skills.dmi
Binary file not shown.

0 comments on commit 18b25fb

Please sign in to comment.