mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-01-25 17:02:04 +00:00
Adds multiple types of sushi, made from various ingredients including rice, egg, fish, and fish eggs. - Most sushi recipes are made via table-crafting, though Tamago Sushi requires a grill to prepare. Adds multiple new types of fish for the fish tanks! Their eggs can be purchased in the CritterCare vendor. - Catfish - Will periodically reduce the filth level of the tank, helping keep it clean while you are busy. - Feederfish - Will sometimes sacrifice itself to add food to the tank for other fish. Will not sacrifice if it is the last fish, or if the food level is sufficiently high - Shrimp - Salmon - Electric Eel - Glofish - Will produce light if the the tank light is off. Adds fish items for each fish you can raise! - Most fish are simply weak weapons you can slap people with. - Sharks and baby carp do slightly higher damage, and make a biting sound on hit - Sharks can have their teeth removed by using a wirecutter on them. - Toothless sharks no longer do more damage than normal fish, nor do they make the bite sound - Shark teeth will be used in some future recipes - Salmon and catfish can be cut into filets with a knife - Shrimp and feederfish can be eaten raw, though they aren't very filling - Glofish, you guessed it, glow! They give off light like a weaker, green-colored flashlight. - Clownfish are slippery like banana peels! HONK! - Electric eels do not zap people, but will be used in a future crafting recipe or two for an improvised stun weapon. Tweaked the rate at which filth will accumulate in a tank, so hopefully it won't be a full time job to maintain a single goldfish. - Tanks with no fish will get dirty at a lower rate than before, and will not continue to get dirty if the filth_level is 7.5 or higher - Previously: 25% chance to increase by 0.1 - Now: 15% chance to increase by 0.05 - Tanks with at least one fish now will get dirty slightly less often - Previously: 25% chance to increase by 0.1 with a 30% chance to increase by 0.1 per fish if they ate that cycle - Now: 10% chance to increase by 0.1 with a 25% chance to increase by 0.1 per fish if they ate that cycle Using a fish net on a fish tank will now let you select a fish to remove, instead of selecting one at random. - Catching a fish with the fish net will now remove it from the tank and drop the appropriate fish item at your feet. Added support for special cooking via cooker machines (deepfryer, cereal maker, old candy maker, old oven) - Only the deepfryer currently utilizes it (as the other machines aren't used currently) - Inserting specific items will cook them into a new item instead of simply frying them! New deepfryer recipes: - Tofu can be deepfried into Fried Tofu! - Raw sticks (from slicing potatoes) can be deepfried into a bag of chips! - Bananas can be deepfried into Fried Bananas! (old recipe still possible) - Corn can be deepfried into a bag of Corn Chips! - This is the same as a bag of chips, except Space Mexican - Shrimp can be deepfried into Fried Shrimp! Began phase 1 of re-organizing/dividing food icons and code into multiple files - The existing icon file was nearing capacity, and the code file was incredibly long - This re-organization will make it easier for coders to find, edit, and group similar/related foods together, without worrying about overfilling the food icon file - This means we can add way more foods in the future without worrying about the icon being full! Sprites courtesy of FullOfSkittles, with a few of my own horrendous recolors/edits. - Not all of the new sprites are currently used, but are planned for use in a near-future PR to further expand the food options available.
205 lines
6.6 KiB
Plaintext
205 lines
6.6 KiB
Plaintext
|
|
var/global/list/fish_items_list = list("goldfish" = /obj/item/weapon/fish/goldfish,
|
|
"clownfish" = /obj/item/weapon/bananapeel/clownfish,
|
|
"shark" = /obj/item/weapon/fish/shark,
|
|
"baby space carp" = /obj/item/weapon/fish/babycarp,
|
|
"catfish" = /obj/item/weapon/fish/catfish,
|
|
"feederfish" = /obj/item/weapon/reagent_containers/food/snacks/feederfish,
|
|
"salmon" = /obj/item/weapon/fish/salmon,
|
|
"shrimp" = /obj/item/weapon/reagent_containers/food/snacks/shrimp,
|
|
"electric eel" = /obj/item/weapon/fish/electric_eel,
|
|
"glofish" = /obj/item/weapon/fish/glofish
|
|
,
|
|
)
|
|
|
|
//////////////////////////////////////////////
|
|
// Aquarium Supplies //
|
|
//////////////////////////////////////////////
|
|
|
|
/obj/item/weapon/egg_scoop
|
|
name = "fish egg scoop"
|
|
desc = "A small scoop to collect fish eggs with."
|
|
icon = 'icons/obj/fish_items.dmi'
|
|
icon_state = "egg_scoop"
|
|
slot_flags = SLOT_BELT
|
|
throwforce = 0
|
|
w_class = 2.0
|
|
throw_speed = 3
|
|
throw_range = 7
|
|
|
|
/obj/item/weapon/fish_net
|
|
name = "fish net"
|
|
desc = "A tiny net to capture fish with. It's a death sentence!"
|
|
icon = 'icons/obj/fish_items.dmi'
|
|
icon_state = "net"
|
|
slot_flags = SLOT_BELT
|
|
throwforce = 0
|
|
w_class = 2.0
|
|
throw_speed = 3
|
|
throw_range = 7
|
|
|
|
suicide_act(mob/user) //"A tiny net is a death sentence: it's a net and it's tiny!" https://www.youtube.com/watch?v=FCI9Y4VGCVw
|
|
viewers(user) << "<span class='warning'>[user] places the [src.name] on top of \his head, \his fingers tangled in the netting! It looks like \he's trying to commit suicide.</span>"
|
|
return(OXYLOSS)
|
|
|
|
/obj/item/weapon/fishfood
|
|
name = "fish food can"
|
|
desc = "A small can of Carp's Choice brand fish flakes. The label shows a smiling Space Carp."
|
|
icon = 'icons/obj/fish_items.dmi'
|
|
icon_state = "fish_food"
|
|
throwforce = 1
|
|
w_class = 2.0
|
|
throw_speed = 3
|
|
throw_range = 7
|
|
|
|
/obj/item/weapon/tank_brush
|
|
name = "aquarium brush"
|
|
desc = "A brush for cleaning the inside of aquariums. Contains a built-in odor neutralizer."
|
|
icon = 'icons/obj/fish_items.dmi'
|
|
icon_state = "brush"
|
|
slot_flags = SLOT_BELT
|
|
throwforce = 0
|
|
w_class = 2.0
|
|
throw_speed = 3
|
|
throw_range = 7
|
|
attack_verb = list("scrubbed", "brushed", "scraped")
|
|
|
|
suicide_act(mob/user)
|
|
viewers(user) << "<span class='warning'>[user] is vigorously scrubbing \himself raw with the [src.name]! It looks like \he's trying to commit suicide.</span>"
|
|
return(BRUTELOSS|FIRELOSS)
|
|
|
|
//////////////////////////////////////////////
|
|
// Fish Items //
|
|
//////////////////////////////////////////////
|
|
|
|
/obj/item/weapon/reagent_containers/food/snacks/shrimp
|
|
name = "shrimp"
|
|
desc = "A single raw shrimp."
|
|
icon = 'icons/obj/food/seafood.dmi'
|
|
icon_state = "shrimp_raw"
|
|
filling_color = "#FF1C1C"
|
|
|
|
New()
|
|
..()
|
|
desc = pick("Anyway, like I was sayin', shrimp is the fruit of the sea.", "You can barbecue it, boil it, broil it, bake it, saute it.")
|
|
reagents.add_reagent("protein", 1)
|
|
src.bitesize = 1
|
|
|
|
/obj/item/weapon/reagent_containers/food/snacks/feederfish
|
|
name = "shrimp"
|
|
desc = "A tiny feeder fish. Sure doesn't look very filling..."
|
|
icon = 'icons/obj/food/seafood.dmi'
|
|
icon_state = "feederfish"
|
|
filling_color = "#FF1C1C"
|
|
|
|
New()
|
|
..()
|
|
reagents.add_reagent("protein", 1)
|
|
src.bitesize = 1
|
|
|
|
/obj/item/weapon/fish
|
|
name = "fish"
|
|
desc = "A generic fish"
|
|
icon = 'icons/obj/fish_items.dmi'
|
|
icon_state = "fish"
|
|
throwforce = 1
|
|
w_class = 2.0
|
|
throw_speed = 3
|
|
throw_range = 7
|
|
force = 1
|
|
attack_verb = list("slapped", "humiliated", "hit", "rubbed")
|
|
hitsound = 'sound/effects/snap.ogg'
|
|
|
|
/obj/item/weapon/fish/glofish
|
|
name = "glofish"
|
|
desc = "A small bio-luminescent fish. Not very bright, but at least it's pretty!"
|
|
icon_state = "glofish"
|
|
|
|
/obj/item/weapon/fish/glofish/New()
|
|
..()
|
|
set_light(2,1,"#99FF66")
|
|
|
|
/obj/item/weapon/fish/electric_eel
|
|
name = "electric eel"
|
|
desc = "An eel capable of producing a mild electric shock. Luckily it's rather weak out of water."
|
|
icon_state = "electric_eel"
|
|
|
|
/obj/item/weapon/fish/shark
|
|
name = "shark"
|
|
desc = "Warning: Keep away from tornadoes."
|
|
icon_state = "shark"
|
|
hitsound = 'sound/weapons/bite.ogg'
|
|
force = 3
|
|
|
|
/obj/item/weapon/fish/shark/attackby(var/obj/item/O, var/mob/user as mob)
|
|
if(istype(O, /obj/item/weapon/wirecutters))
|
|
user << "You rip out the teeth of \the [src.name]!"
|
|
new /obj/item/weapon/fish/toothless_shark(get_turf(src))
|
|
new /obj/item/weapon/shard/shark_teeth(get_turf(src))
|
|
qdel(src)
|
|
return
|
|
..()
|
|
|
|
/obj/item/weapon/fish/toothless_shark
|
|
name = "toothless shark"
|
|
desc = "Looks like someone ripped it's teeth out!"
|
|
hitsound = 'sound/effects/snap.ogg'
|
|
|
|
/obj/item/weapon/shard/shark_teeth
|
|
name = "shark teeth"
|
|
desc = "A number of teeth, supposedly from a shark."
|
|
icon = 'icons/obj/fish_items.dmi'
|
|
icon_state = "teeth"
|
|
force = 2.0
|
|
throwforce = 5.0
|
|
g_amt = 0
|
|
|
|
/obj/item/weapon/fish/catfish
|
|
name = "catfish"
|
|
desc = "Apparently, catfish don't purr like you might have expected them to. Such a confusing name!"
|
|
icon_state = "catfish"
|
|
|
|
/obj/item/weapon/fish/catfish/attackby(var/obj/item/O, var/mob/user as mob)
|
|
if(istype(O, /obj/item/weapon/kitchenknife) || istype(O, /obj/item/weapon/butch) || istype(O, /obj/item/weapon/scalpel) || istype(O, /obj/item/weapon/kitchen/utensil/knife))
|
|
user << "You carefully clean and gut \the [src.name]."
|
|
new /obj/item/weapon/reagent_containers/food/snacks/catfishmeat(get_turf(src))
|
|
new /obj/item/weapon/reagent_containers/food/snacks/catfishmeat(get_turf(src))
|
|
qdel(src)
|
|
return
|
|
..()
|
|
|
|
/obj/item/weapon/fish/goldfish
|
|
name = "goldfish"
|
|
desc = "A goldfish, just like the one you never won at the county fair."
|
|
icon_state = "goldfish"
|
|
|
|
/obj/item/weapon/fish/salmon
|
|
name = "salmon"
|
|
desc = "The second-favorite food of Space Bears, right behind crew members."
|
|
icon_state = "salmon"
|
|
|
|
/obj/item/weapon/fish/salmon/attackby(var/obj/item/O, var/mob/user as mob)
|
|
if(istype(O, /obj/item/weapon/kitchenknife) || istype(O, /obj/item/weapon/butch) || istype(O, /obj/item/weapon/scalpel) || istype(O, /obj/item/weapon/kitchen/utensil/knife))
|
|
user << "You carefully clean and gut \the [src.name]."
|
|
new /obj/item/weapon/reagent_containers/food/snacks/salmonmeat(get_turf(src))
|
|
new /obj/item/weapon/reagent_containers/food/snacks/salmonmeat(get_turf(src))
|
|
qdel(src)
|
|
return
|
|
..()
|
|
|
|
/obj/item/weapon/fish/babycarp
|
|
name = "baby space carp"
|
|
desc = "Substantially smaller than the space carp lurking outside the hull, but still unsettling."
|
|
icon_state = "babycarp"
|
|
hitsound = 'sound/weapons/bite.ogg'
|
|
force = 3
|
|
|
|
/obj/item/weapon/bananapeel/clownfish
|
|
name = "clown fish"
|
|
desc = "Even underwater, you cannot escape HONKing."
|
|
icon = 'icons/obj/fish_items.dmi'
|
|
icon_state = "clownfish"
|
|
throwforce = 1
|
|
force = 1
|
|
attack_verb = list("slapped", "humiliated", "hit", "rubbed")
|