Canibalism kit! + Roasting meat on fire
СКАЧАТЬ(Файлы Textures и Resources)ПерезалитоТеперь вам не придется голодать... Установка:1. Откройте module_dialogs.py и найдите строчки "prisoner_chat":
[anyone|plyr,"prisoner_chat", [], "Do not try running away or trying something stupid. I will be watching you.", "prisoner_chat_2",[]],
[anyone,"prisoner_chat_2", [], "No, I swear I won't.", "close_window",[]],
Удалите предыдущий код и вставьте этот:
[anyone|plyr,"prisoner_chat", [], "Do not try running away or trying something stupid. I will be watching you.", "prisoner_chat_2",[]],
[anyone,"prisoner_chat_2", [], "No, I swear I won't.", "prisoner_chat_3",[]],
[anyone,"prisoner_chat_3", [], "What more do you want?", "prisoner_chat_4",[]],
[anyone|plyr,"prisoner_chat_4", [(store_conversation_troop, "$g_talk_troop"),(neg|troop_is_hero, "$g_talk_troop")], "You look tasty. Only piece gnaw.",
"prisoner_chat_5",[]],
[anyone|plyr,"prisoner_chat_4", [], "Nothing.", "close_window",[]],
[anyone,"prisoner_chat_5", [], "You... You... You are cannibal! Please... Noooo!", "prisoner_chat_6",[]],
[anyone|plyr,"prisoner_chat_6", [], "Hey you! Go get me a knife for filleting!", "close_window",[(troop_add_item, "trp_player", "itm_ludzkie_mieso", 0),(store_conversation_troop,reg(1)), (remove_troops_from_prisoners,reg(1),1),]],
2. Откройте module_constants и найдите: item slots
После этого кода...
slot_item_multiplayer_availability_linked_list_begin = 61 #temporary, can be moved to higher values
...Вставьте этот:
slot_item_miesa = 62
3. Теперь найдите в module_game_menus такой код: ("camp",mnf_scale_picture,
("camp",mnf_scale_picture,
"You set up camp. What do you want to do?",
"none",
[
(assign, "$g_player_icon_state", pis_normal),
(set_background_mesh, "mesh_pic_camp"),
],
[
("camp_action_1",[(eq,"$cheat_mode",1)],"{!}Cheat: Walk around.",
[(set_jump_mission,"mt_ai_training"),
(call_script, "script_setup_random_scene"),
(change_screen_mission),
]
),
И после него вставьте:
("pieczonko",[],"Bake some meat by the fire.",
[(jump_to_menu,"mnu_pieczenie_miesa"),
]
),
Потом перейдите в конец файла и снова скопируйте такой код:
("pieczenie_miesa",menu_text_color(0x00FF00)|mnf_disable_all_keys,
"Would you like to bake some meat?",
"none",
[],
[
("continue",[],"Go ahead...",
[(jump_to_menu, "mnu_piecz"),
]
),
("mieso_wroc",[],"Back.",
[
(jump_to_menu, "mnu_camp"),
]),
]
),
("piecz",mnf_disable_all_keys,
"Choose meat that you want to bake:.",
"none",
[],
[
("bake_cattle_meat",[(player_has_item, "itm_cattle_meat"),
(item_slot_eq, "itm_cattle_meat", slot_item_miesa, 0),
(str_store_item_name, s1, "itm_cattle_meat"),
],"Bake {s1}.",
[(assign, "$temp", "itm_cattle_meat"),
(try_begin),
(troop_remove_item,"trp_player","itm_cattle_meat"),
(troop_add_item,"trp_player","itm_pieczone_mieso"),
(display_message,"@You roasted some beef on fire.", 0x00FF00),
(rest_for_hours, 3, 5, 1),
(change_screen_return),
(try_end),
]
),
("stopa",[(player_has_item, "itm_ludzkie_mieso"),
(item_slot_eq, "itm_ludzkie_mieso", slot_item_miesa, 0),
(str_store_item_name, s1, "itm_ludzkie_mieso"),
],"Bake {s1}.",
[(assign, "$temp", "itm_ludzkie_mieso"),
(try_begin),
(troop_remove_item,"trp_player","itm_ludzkie_mieso"),
(troop_add_item,"trp_player","itm_pieczone_ludzkie_mieso"),
(display_message,"@You roasted some human flesh on fire.", 0x00FF00),
(rest_for_hours, 3, 5, 1),
(change_screen_return),
(try_end),
]
),
("mieso_wroc",[],"Go back.",
[
(jump_to_menu, "mnu_camp"),
]),
]),
4. Вы также должны добавить модульку сюда module_items:
["pieczone_mieso","Baked Beef", [("pieczone_mieso/baked_meat",0)], itp_merchandise|itp_type_goods|itp_consumable|itp_food, 0, 150,weight(20)|abundance(100)|food_quality(80)|max_ammo(50),imodbits_none],
["ludzkie_mieso","Human flesh", [("mieso_czlowieka/human_flesh",0)], itp_type_goods|itp_consumable|itp_food, 0, 5,weight(20)|abundance(100)|food_quality(80)|max_ammo(40),imodbits_none],
["pieczone_ludzkie_mieso","Baked human flesh", [("pieczone_mieso_czlowieka/baked_human_flesh",0)], itp_type_goods|itp_consumable|itp_food, 0, 4,weight(20)|abundance(100)|food_quality(80)|max_ammo(40),imodbits_none],
5. И наконец откройте module_scripts и найдите: (item_set_slot, "itm_ale", slot_item_food_bonus, 4),
После этих строчек скопируйте:
(item_set_slot, "itm_pieczone_mieso", slot_item_food_bonus, 7),
(item_set_slot, "itm_ludzkie_mieso", slot_item_food_bonus, 1),
(item_set_slot, "itm_pieczone_ludzkie_mieso", slot_item_food_bonus, 4),
Вот и все, при использовании в своем моде не забудьте упомянуть автора:
MasteranczaРодная страница
Комментариев 11
Посетители, находящиеся в группе Гости, не могут оставлять комментарии к данной публикации.