Skip to content

Commit

Permalink
Version 1.5
Browse files Browse the repository at this point in the history
FWB fix, string id update, move to github updates
  • Loading branch information
irbizzelus authored Oct 31, 2022
1 parent 013221f commit d858f2c
Show file tree
Hide file tree
Showing 9 changed files with 43 additions and 38 deletions.
5 changes: 5 additions & 0 deletions lua/copmovement.lua
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,11 @@ Hooks:PostHook(CopMovement, "action_request", "postactionrequesttweakunitdata" ,
return
end

-- Wacky zany First World Bank stealth retention code by Divided By Zero²
if Global.game_settings and Global.game_settings.level_id == "red2" and managers.groupai:state():whisper_mode() then
return
end

-- Much better way to make sure that wrong 'enemies' dont get immortal/mortal is to only allow enemies from a list that we make ourselves to become mortal/immortal
-- Pros:
-- 1) less bugs
Expand Down
2 changes: 1 addition & 1 deletion main.xml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
<mod name="Immortal Dominated Cops" author="irbizzelus" color="Color(0.85,0,0.85)">
<AssetUpdates id="39224" provider="modworkshop" version="1.41"/>
<AssetUpdates id="irbizzelus/IMMDOMCOPS" provider="github" release="true" version="1.5"/>
</mod>
12 changes: 6 additions & 6 deletions menus/immdomcopsmenu.txt
Original file line number Diff line number Diff line change
@@ -1,25 +1,25 @@
{
"menu_id": "immdomcopsmenu",
"parent_menu_id": "blt_options",
"title": "immdomcops_title",
"description": "immdomcops_desc",
"title": "IMMDOMCOP_title",
"description": "IMMDOMCOP_desc",
"back_callback": "idc_immdomcopssave",
"items":
[
{
"type" : "toggle",
"id" : "highlights",
"title" : "highlights",
"description" : "highlights_desc",
"title" : "IMMDOMCOP_highlights",
"description" : "IMMDOMCOP_highlights_desc",
"callback" : "idc_cb_highlights",
"value" : "highlights",
"default_value" : true
},
{
"type" : "toggle",
"id" : "meleekill",
"title" : "meleekill",
"description" : "meleekill_desc",
"title" : "IMMDOMCOP_meleekill",
"description" : "IMMDOMCOP_meleekill_desc",
"callback" : "idc_cb_meleekill",
"value" : "meleekill",
"default_value" : true
Expand Down
12 changes: 6 additions & 6 deletions menus/lang/immdomcopsmenu_chs.txt
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"immdomcops_title": "Immortal dominated cops",
"immdomcops_desc": "Immortal dominated cops(已被恐吓的警察无敌)模组设置",
"highlights": "高亮轮廓",
"highlights_desc": "勾选或取消勾选以决定是否高亮被恐吓的警察的轮廓",
"meleekill": "近战一击必杀",
"meleekill_desc": "勾选后主机近战攻击已经完全投降的敌人会直接将其击杀"
"IMMDOMCOP_title": "Immortal dominated cops",
"IMMDOMCOP_desc": "Immortal dominated cops(已被恐吓的警察无敌)模组设置",
"IMMDOMCOP_highlights": "高亮轮廓",
"IMMDOMCOP_highlights_desc": "勾选或取消勾选以决定是否高亮被恐吓的警察的轮廓",
"IMMDOMCOP_meleekill": "近战一击必杀",
"IMMDOMCOP_meleekill_desc": "勾选后主机近战攻击已经完全投降的敌人会直接将其击杀"
}
12 changes: 6 additions & 6 deletions menus/lang/immdomcopsmenu_en.txt
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"immdomcops_title": "Immortal dominated cops",
"immdomcops_desc": "",
"highlights": "Highlights",
"highlights_desc": "Enable or disable intimidated enemy highlighs",
"meleekill": "Melee insta-kill",
"meleekill_desc": "If enabled host can insta kill any cop who has given up completely with a melee attack"
"IMMDOMCOP_title": "Immortal dominated cops",
"IMMDOMCOP_desc": "",
"IMMDOMCOP_highlights": "Highlights",
"IMMDOMCOP_highlights_desc": "Enable or disable intimidated enemy highlighs",
"IMMDOMCOP_meleekill": "Melee insta-kill",
"IMMDOMCOP_meleekill_desc": "If enabled host can insta kill any cop who has given up completely with a melee attack"
}
12 changes: 6 additions & 6 deletions menus/lang/immdomcopsmenu_es.txt
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"immdomcops_title": "Immortal dominated cops",
"immdomcops_desc": "",
"highlights": "Contornos",
"highlights_desc": "Activa o desactiva los contornos de los enemigos dominados",
"meleekill": "Insta-Muerte cuerpo a cuerpo",
"meleekill_desc": "Si se activa el host puede matar instantáneamente a cualquier policía que se haya rendido completamente, con un ataque cuerpo a cuerpo"
"IMMDOMCOP_title": "Immortal dominated cops",
"IMMDOMCOP_desc": "",
"IMMDOMCOP_highlights": "Contornos",
"IMMDOMCOP_highlights_desc": "Activa o desactiva los contornos de los enemigos dominados",
"IMMDOMCOP_meleekill": "Insta-Muerte cuerpo a cuerpo",
"IMMDOMCOP_meleekill_desc": "Si se activa el host puede matar instantáneamente a cualquier policía que se haya rendido completamente, con un ataque cuerpo a cuerpo"
}
12 changes: 6 additions & 6 deletions menus/lang/immdomcopsmenu_fr.txt
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"immdomcops_title": "Immortal dominated cops",
"immdomcops_desc": "",
"highlights": "Surbrillance",
"highlights_desc": "Active ou désactive la surbrillance des ennemis dominés",
"meleekill": "Meutre instantanée via mélée",
"meleekill_desc": "Si activer, l'hôte peut tuer instantanément un flic qui s'est rendu avec une attaque de mêlée"
"IMMDOMCOP_title": "Immortal dominated cops",
"IMMDOMCOP_desc": "",
"IMMDOMCOP_highlights": "Surbrillance",
"IMMDOMCOP_highlights_desc": "Active ou désactive la surbrillance des ennemis dominés",
"IMMDOMCOP_meleekill": "Meutre instantanée via mélée",
"IMMDOMCOP_meleekill_desc": "Si activer, l'hôte peut tuer instantanément un flic qui s'est rendu avec une attaque de mêlée"
}
12 changes: 6 additions & 6 deletions menus/lang/immdomcopsmenu_ru.txt
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"immdomcops_title": "Immortal dominated cops",
"immdomcops_desc": "",
"highlights": "Подсветка",
"highlights_desc": "Включить или выключить подсветку сдавшихся врагов.",
"meleekill": "Убийство с рукопашного оружия",
"meleekill_desc": "Позволяет лидеру лобби убивать полностью сдавшихся врагов оружием ближнего боя"
"IMMDOMCOP_title": "Immortal dominated cops",
"IMMDOMCOP_desc": "",
"IMMDOMCOP_highlights": "Подсветка",
"IMMDOMCOP_highlights_desc": "Включить или выключить подсветку сдавшихся врагов.",
"IMMDOMCOP_meleekill": "Убийство с рукопашного оружия",
"IMMDOMCOP_meleekill_desc": "Позволяет лидеру лобби убивать полностью сдавшихся врагов оружием ближнего боя"
}
2 changes: 1 addition & 1 deletion mod.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"description" : "Gives immportality and visual highlight to dominated enemies.",
"author" : "irbizzelus\nBased on Undeadsewer's Intimidated Outlines",
"contact" : "Steam profile link is on my modworkshop account\nUndeadsewer: [email protected]",
"version" : "1.41",
"version" : "1.5",
"hooks" : [
{ "hook_id" : "lib/units/enemies/cop/copmovement", "script_path" : "lua/copmovement.lua" },
{ "hook_id" : "lib/units/enemies/cop/copdamage", "script_path" : "lua/copdamage.lua" },
Expand Down

0 comments on commit d858f2c

Please sign in to comment.