Project Zomboid

Project Zomboid

Ocen: 104
Ratpack - Rat Backpack
4
2
   
Przyznaj nagrodę
Ulubione
Ulubione
Usuń z ulubionych
Rozmiar pliku
Zamieszczono
Zaktualizowano
2.219 MB
29 marca 2022 o 2:31
19 października 2023 o 13:45
Listy zmian: 5 ( zobacz )

Zasubskrybuj, aby pobrać
Ratpack - Rat Backpack

Opis
Adds a cute rat backpack, called a Ratpack, to the game.
This friendly rat companion will follow you around (on your back) and keep your items safe, and it will definitely not nibble on any of them.

-------------------------------

The Ratpack is obtained by crafting it from the "Make Ratpack" or "Make Ratpack (Small)" recipes, which requires a Dead Rat, a bit of thread and a needle, and either a Military Backpack or a Duffel Bag respectively depending on which size Ratpack you want.
Alternatively, the smaller variant of the Ratpack has a rare chance to spawn in shelves or crates for toys, and in certain types of lockers.

The Ratpack is a purely cosmetical item, and as such it has the same stats as the backpack used to craft it.

-------------------------------

Updated last on 2023-10-19:

Added a second, smaller variant of the Ratpack which can be crafted using a Duffel Bag instead of a Military Backpack, so you can start your magical rat friendship even earlier in the game. Wow!

Added a chance for the new, smaller Ratpack to spawn naturally in the world. Your new rat pal is out there right now, just waiting for you to come find them!

-------------------------------

Feel free to use the mod on any server or in any package/collection you want, I don't mind, it's all good.

-------------------------------

Updated and tested to be working on version 41.78

Workshop ID: 2786366174
Mod ID: RATPACK
Komentarzy: 34
Tofu injury 17 listopada 2024 o 18:17 
This approach would keep your mod simple while enabling users to provide translations for their own language. I’d be more than happy to assist with testing or translating if needed!

Thank you for your time, and I look forward to seeing more updates to this wonderful mod.

Best regards,
Tofu injury 17 listopada 2024 o 18:17 
Players could then translate these keys into their own languages (e.g., Korean):

IGUI_RatPackMessenger_Nibbles = "*%1$s가 %2$s를 조금 먹었어요*"
Tofu injury 17 listopada 2024 o 18:17 
Create a translation file (e.g., IG_UI_EN.txt) with keys and corresponding text:

IGUI_RatPackMessenger_Nibbles = "*%1$s nibbles on %2$s*"
Tofu injury 17 listopada 2024 o 18:17 
Here’s an example of how you could implement this:

Replace hardcoded strings (e.g., "nibbles on") with getText calls.

self.player:Say(getText("IGUI_RatPackMessenger_Nibbles", ratpack_name, self:trimFoodName(_item:getName())));
Tofu injury 17 listopada 2024 o 18:16 
Hello broface,

First of all, thank you for creating such a fun and charming mod! I’ve been enjoying it a lot, especially the cute rat companion mechanics. 😊

I’m reaching out to ask if it would be possible to add localization (translation) support for the mod. This would allow players from different regions to enjoy your mod in their own languages, making it even more accessible to the global community.
YANI 5 lipca 2024 o 1:02 
:bleach:
Jovial 30 maja 2024 o 17:26 
Ratpack my beloved...
Puppers 16 października 2023 o 16:14 
Yay!!! Best mod evers! :PawHeart:
broface  [autor] 13 października 2023 o 3:58 
Just updated the mod to add a smaller version of the Ratpack which doesn't require a Military Backpack to craft, as suggested to make it a bit easier to obtain.

Also added a chance for the Ratpack (Small) to spawn as loot, just for the added fun of people stumbing across a new rat friend even if they've forgotten about the mod or its recipe.
coke. 10 października 2023 o 7:52 
one of the best things I've used