From 7e224c97ae2728472180322f625dafa545f21f7f Mon Sep 17 00:00:00 2001 From: jc_gargma Date: Sat, 18 Jan 2025 21:46:00 -0800 Subject: Convert the PKGBUILD to my own fork of cataclysm-bn. --- src-11_fix-tacoma-farmfield.patch | 32 -------------------------------- 1 file changed, 32 deletions(-) delete mode 100644 src-11_fix-tacoma-farmfield.patch (limited to 'src-11_fix-tacoma-farmfield.patch') diff --git a/src-11_fix-tacoma-farmfield.patch b/src-11_fix-tacoma-farmfield.patch deleted file mode 100644 index 3a3e0ac..0000000 --- a/src-11_fix-tacoma-farmfield.patch +++ /dev/null @@ -1,32 +0,0 @@ ---- a/src/mission_companion.cpp -+++ b/src/mission_companion.cpp -@@ -940,12 +940,12 @@ - void talk_function::field_build_1( npc &p ) - { - Character &player_character = get_player_character(); -- if( player_character.cash < 100000 ) { -+ if( g->u.cash < 100000 ) { - popup( _( "I'm sorry, you don't have enough money." ) ); - return; - } - p.set_mutation( trait_NPC_CONSTRUCTION_LEV_1 ); -- player_character.cash += -100000; -+ g->u.cash += -100000; - const tripoint_abs_omt site = - overmap_buffer.find_closest( player_character.global_omt_location(), "ranch_camp_63", 20, - false ); -@@ -966,12 +966,12 @@ - void talk_function::field_build_2( npc &p ) - { - Character &player_character = get_player_character(); -- if( player_character.cash < 550000 ) { -+ if( g->u.cash < 550000 ) { - popup( _( "I'm sorry, you don't have enough money." ) ); - return; - } - p.set_mutation( trait_NPC_CONSTRUCTION_LEV_2 ); -- player_character.cash += -550000; -+ g->u.cash += -550000; - const tripoint_abs_omt site = - overmap_buffer.find_closest( player_character.global_omt_location(), "ranch_camp_63", 20, - false ); -- cgit v1.2.1