Guest book

30.08.2013 09:17 Guest
Checked again. For talent Humor described below - works. The problem was in a text editor, which automatically changed something in the script , and the program saw its " broken ." In another editor - all OK. In general ... the problem is solved .
Sergey A. Zhukov, answer to: Guest
All right. Sorry I could not answer , was too busy at work. Not before it .
29.08.2013 07:01 Guest
Hello , Sergey A. Zhukov!
So what about my question about pickpocketing and talent of Humor ?

Tried to change object_events.py wrote below , but the program with a modified script refuses to run until the original script can not be put in place : (

It turns out , the list of items for pick-pocketing and talent Humor lies somewhere else ?
29.08.2013 12:03 RicH
Hello ! I do not find anything there , where it should be
Bunker , the interior # 504
And the burning ruins of the farm is not searched .
Sergey A. Zhukov, answer to: RicH
On the home page , I wrote that for general reference. The reason is that I have not scored database manually, and pulled the information from this game , and hence subject to errors and inaccuracies . In the case of the ruins , they have subjects, but that's a different file does not indicate that the ruins - a container so they are not searched .
RicH, answer to: Sergey A. Zhukov
Thanks for the reply and in general for all that there is! What I mean is that the card can be removed with reference to these ruins , so people do not confuse ? 15 minutes he spun around , trying to put out there on anything except drums from different angles.
Yes, and it is not clear from the hopper . Maybe I do not understand, but at the place of the wall , where on the map the interior and lock all over for nothing is induced as active.
Sergey A. Zhukov, answer to: RicH
Tucked away. Thank you for your attention to detail :)
28.08.2013 03:52 Guest
OK.
Around the middle of the script object_events.py:
inside_pocket_items = ["SET_RED_SHARD", "SET_STAPLE_GUN", "SET_TOOTHBRUSH", "SET_GAME_JOY", "SET_GARLIC_PRESS", "SET_WIRE_WHISK",
  "SET_SMALL_SAND_SHOVEL", "SET_MULTIPLE_SOCKET", "SET_BROKEN_POCKET_CALCULATOR", "SET_SMALL_PICTURE_FRAME",
  "SET_PLAYING_CARD", "SET_BRUSH", "SET_DUCT_TAPE", "SET_WATERTIGHT_RING", "SET_LIGHTER", "SET_LASERPOINTER",
  "SET_SHORT_NAILS", "SET_RAGS", "SET_STETHOSCOPE", "SET_LONG_NAILS", "SET_CRANK", "SET_PLIERS", "SET_BULLET_CASINGS", "SET_LIGHT_BULB",
  "SET_RASP", "SET_RIVETS", "SET_DICE", "SET_FUSE", "SET_BOTTLE_OF_HOOCH", "SET_BATTERY", "SET_HAIR_SPRAY", "SET_WALTER_PPK",
  "SET_BERETTA_92F", "SET_DESERT_EAGLE", "SET_SPECIAL_38", "SET_GLOCK_21", "SET_HEGRENADE", "SET_FRAGGRENADE", "SET_MOLOTOV_COCKTAIL", "SET_THROWING_KNIFE", "SET_SHURIKEN", "SET_DART", "SET_BRASS_KNUCKLES", "SET_KNIFE", "SET_BIG_KNIFE "
  "SET_MACHETE", "SET_AMMOPACK_7_65_MM", "SET_AMMOPACK_38", "SET_AMMOPACK_44", "SET_AMMOPACK_357", "SET_AMMOPACK_9_MM",
  "SET_AMMOPACK_50", "SET_AMMOPACK_45", "SET_AMMOPACK_50_BMG", "SET_AMMOPACK_5_7_MM", "SET_AMMOPACK_4_6_MM", "SET_MEDIPACK_SMALL",
  "SET_DRUGS_PILLS_01", "SET_DRUGS_PILLS_02", "SET_DRUGS_PILLS_03", "SET_DRUGS_PILLS_04", "SET_DRUGS_VIALS_01", "SET_DRUGS_VIALS_02",
  "SET_DRUGS_VIALS_03", "SET_APPLE", "SET_BREAD", "SET_CARROT"]

def get_random_item ():
  "" "Called to randomly choose 1 out of 50 items.

This is used for the talent "inside pocket".

if, for example, do this:
SET_SPECIAL_38 -> SET_BIG_BAG
SET_AMMOPACK_38 -> SET_COIN_CELL_BATTERY
this will solve the problem in the case of talent, "humor"? (I do not want to develop the pockets of traction character in full if pocket items from a pelvis are drawn randomly and for humor and for theft)
28.08.2013 01:00 Guest
Sorry ... for pick_pocket (pickpocketing) of course :)
Sergey A. Zhukov, answer to: Guest
In the evening I will look and answer. At work, there is no way to look.
Development by Sergey A.Zhukov 2007-2012