Crossfire Server, Trunk
Ice Namespace Reference

Functions

def FindFridge (object)
 
def FindPuddle (object)
 
def GetObjectByName (object, Name)
 

Variables

 a = whoami.Inventory
 
 activator = Crossfire.WhoIsActivator()
 
 b = whoami.CreateObject("icecube")
 
 CFDB = CFDataBase.CFDataBase("PShop")
 
int CTRL = 0
 
 Dict = CFDB.get("pshop")
 
 Direction = random.randint(1,8)
 
 Face
 
 Fogs = int(whoami.Weight/1000)
 
 FogsTmp = Fogs
 
def g = FindPuddle(b)
 
 IntMass = int(Mass/1000)
 
 Mass = int(math.sqrt(whoami.Weight))
 
 Me = Dict.get(WL)
 
 mymap = activator.Map
 
 Name
 
 NamePl
 
 Params = Crossfire.ScriptParameters()
 
 Pickable
 
 Quantity
 
 Rand = random.randint(0,8)
 
 Slaying
 
 Speed
 
 t = mymap.ObjectAt(activator.X, activator.Y)
 
 Title
 
int tmp = 0
 
 Value
 
 Weight
 
 whoami = Crossfire.WhoAmI()
 
 WL = str(whoami.WeightLimit)
 
tuple XY = (whoami.X,whoami.Y)
 
 y = z.CreateObject("event_time")
 
 z = b.CreateObject("event_time")
 
 Z = z.CreateObject("event_destroy")
 

Function Documentation

◆ FindFridge()

def Ice.FindFridge (   object)

Definition at line 13 of file Ice.py.

◆ FindPuddle()

def Ice.FindPuddle (   object)

Definition at line 22 of file Ice.py.

◆ GetObjectByName()

def Ice.GetObjectByName (   object,
  Name 
)

Definition at line 7 of file Ice.py.

Variable Documentation

◆ a

tuple Ice.a = whoami.Inventory

Definition at line 41 of file Ice.py.

◆ activator

Ice.activator = Crossfire.WhoIsActivator()

Definition at line 102 of file Ice.py.

◆ b

◆ CFDB

Ice.CFDB = CFDataBase.CFDataBase("PShop")

Definition at line 3 of file Ice.py.

◆ CTRL

int Ice.CTRL = 0

Definition at line 208 of file Ice.py.

◆ Dict

Ice.Dict = CFDB.get("pshop")

Definition at line 105 of file Ice.py.

◆ Direction

int Ice.Direction = random.randint(1,8)

Definition at line 205 of file Ice.py.

◆ Face

Ice.Face

Definition at line 71 of file Ice.py.

◆ Fogs

int Ice.Fogs = int(whoami.Weight/1000)

Definition at line 126 of file Ice.py.

◆ FogsTmp

Ice.FogsTmp = Fogs

Definition at line 132 of file Ice.py.

◆ g

def Ice.g = FindPuddle(b)

Definition at line 63 of file Ice.py.

Referenced by merge_tiled_maps().

◆ IntMass

Ice.IntMass = int(Mass/1000)

Definition at line 180 of file Ice.py.

◆ Mass

Ice.Mass = int(math.sqrt(whoami.Weight))

Definition at line 179 of file Ice.py.

◆ Me

Ice.Me = Dict.get(WL)

Definition at line 108 of file Ice.py.

◆ mymap

Ice.mymap = activator.Map

Definition at line 343 of file Ice.py.

◆ Name

Ice.Name

Definition at line 55 of file Ice.py.

◆ NamePl

Ice.NamePl

Definition at line 61 of file Ice.py.

◆ Params

Ice.Params = Crossfire.ScriptParameters()

Definition at line 5 of file Ice.py.

◆ Pickable

Ice.Pickable

Definition at line 80 of file Ice.py.

◆ Quantity

Ice.Quantity

Definition at line 337 of file Ice.py.

◆ Rand

Ice.Rand = random.randint(0,8)

Definition at line 91 of file Ice.py.

◆ Slaying

Ice.Slaying

Definition at line 56 of file Ice.py.

◆ Speed

Ice.Speed

Definition at line 51 of file Ice.py.

◆ t

Ice.t = mymap.ObjectAt(activator.X, activator.Y)

Definition at line 348 of file Ice.py.

◆ Title

Ice.Title

Definition at line 54 of file Ice.py.

◆ tmp

int Ice.tmp = 0

Definition at line 207 of file Ice.py.

Referenced by account_char_load_from_file(), accounts_load(), add_abilities(), add_face_layer(), add_score(), add_shop_item(), addConstants(), addSimpleConstants(), adjust_sign_msg(), alchemy(), alchemy_failure_effect(), animate_bomb(), animate_weapon(), apply_auto(), apply_auto_fix(), apply_builder_floor(), apply_by_living(), apply_by_living_below(), apply_can_apply_object(), apply_container(), apply_death_exp_penalty(), apply_handle_yield(), apply_manual(), apply_map_builder(), apply_special(), arch_present_in_ob(), artifact_describe(), attempt_do_alchemy(), attempt_jump(), attempt_recipe(), attempt_steal(), auto_apply_fix_inventory(), nlohmann::basic_json.back(), become_follower(), blind_living(), blocked_link(), calc_item_power(), can_build_over(), cast_bless(), cast_change_ability(), cast_cone(), cast_consecrate(), cast_create_missile(), cast_create_town_portal(), cast_curse(), cast_destruction(), cast_detection(), cast_earth_to_dust(), cast_identify(), cast_light(), cast_magic_storm(), cast_polymorph(), cast_raise_dead_spell(), cast_transfer(), cf_object_apply(), cf_object_change_abil(), cfapi_object_change_abil(), cfapi_object_clone(), cfapi_object_find_archetype_inside(), cfapi_object_set_property(), change_abil(), change_luck(), change_object(), charge_mana_effect(), check_altar_sacrifice(), check_bullet(), check_infection(), check_inv_recursive(), check_item(), check_loaded_object(), check_normalize(), check_pick(), check_spell_knockback(), check_split_string(), check_trigger(), clean_object(), command_create(), command_drop(), command_dump(), command_examine(), command_free(), command_inventory(), command_learn_spell_or_prayer(), command_lock_item(), command_patch(), command_remove(), command_rename_item(), command_reset(), command_resistances(), command_style_map_info(), command_take(), command_title(), common_process_projectile(), confuse_living(), content_recipe_value(), convert(), cost_approx_str(), counterspell(), create_bomb(), Crossfire_Object_CheckArchInventory(), delete_map(), describe_monster(), detect_curse_on_item(), detect_magic_on_item(), determine_god(), dispel_rune(), do_auto_apply(), do_execute_event(), do_learn_spell(), do_mood_floor(), do_single_item(), do_skill(), do_skill_attack(), do_skill_detect_curse(), do_skill_detect_magic(), do_skill_ident(), do_symptoms(), door_in_square(), dragon_ability_gain(), drain_specific_stat(), drain_wand_charge(), drop(), drop_object(), ensure_map_in_memory(), enter_exit(), enter_player_savebed(), esrv_draw_look(), esrv_get_ob_from_count(), esrv_send_inventory(), examine(), examine_autoidentify(), examine_fluff(), examine_monster(), examine_rod_charge_level(), examine_wand_charge_level(), examine_weight_and_material(), explode_bullet(), explosion(), find_arrow(), find_best_apply_object_match(), find_best_player_hth_skill(), find_better_arrow(), find_insert_pos(), find_key(), find_or_create_connection_for_map(), find_random_spell_in_ob(), find_skill_by_name(), find_skill_by_number(), find_target_for_friendly_spell(), find_throw_ob(), find_traps(), Archetypes.findByObjectName(), fire_arch_from_position(), fire_bolt(), fire_swarm(), fix_container_multipart(), fix_generated_item(), fix_object(), fix_summon_pet(), follower_has_similar_item(), follower_remove_given_items(), forklightning(), gate_type_process(), generate_monster(), generate_monster_inv(), generate_treasure(), get_item_from_body_location(), get_map_info(), get_next_mon(), get_ob_diff(), get_player(), get_rangevector(), get_score(), give_initial_items(), god_examines_priest(), god_gives_present(), god_intervention(), god_removes_curse(), hiscore_check(), hit_map(), hit_player(), hit_with_one_attacktype(), identify_object_with_skill(), ihypot(), improve_armour(), improve_weapon_magic(), include_map_in_map(), infect_object(), init_formulae(), init_listening_socket(), init_ob_types(), inventory(), is_legal_2ways_exit(), key_change_class(), kill_player(), kill_player_not_permadeath(), kill_player_permadeath(), lamp_type_apply(), learn_skill(), legal_artifact_combination(), lightable_type_apply(), link_multipart_objects(), link_player_skills(), MessageLoader.load(), load_settings(), load_style_map(), local_check_loaded_object(), lock_item_cmd(), look_at(), loot_object(), magic_wall(), main(), make_list_like(), make_object_glow(), map_find_by_archetype(), map_find_by_flag(), map_find_by_type(), mark_inventory_as_no_drop(), meditate(), minheap_normalize(), mon_info_msg(), monster_apply_below(), monster_check_doors(), monster_check_earthwalls(), monster_check_pickup(), monster_choose_random_spell(), monster_compute_path(), monster_find_enemy(), monster_find_nearest_enemy(), monster_find_throw_ob(), monster_use_scroll(), mood_change(), move_aura(), move_bolt(), move_cone(), move_detector(), move_duplicator(), move_hole(), move_marker(), move_player_attack(), move_symptom(), move_teleporter(), new_player_cmd(), nuke_map_region(), numb_ob_inside(), ob_blocked(), obj_count_in_map(), object_check_move_on(), object_copy_with_inv(), object_count_active(), object_count_free(), object_count_used(), object_create_clone(), object_decrease_nrof(), object_find_by_arch_name(), object_find_by_flag(), object_find_by_flag_applied(), object_find_by_name(), object_find_by_tag(), object_find_by_type(), object_find_by_type2(), object_find_by_type_and_arch_name(), object_find_by_type_and_name(), object_find_by_type_and_race(), object_find_by_type_and_skill(), object_find_by_type_and_slaying(), object_find_by_type_applied(), object_find_by_type_subtype(), object_find_by_type_without_flags(), object_fix_multipart(), object_increase_nrof(), object_insert_in_map(), object_insert_in_map_at(), object_insert_in_ob(), object_merge_spell(), object_present_in_ob(), object_present_in_ob_by_name(), object_remove(), object_replace_insert_in_map(), object_set_flag_inv(), object_set_owner(), object_unset_flag_inv(), ok_to_put_more(), old_describe_monster(), op_on_battleground(), parse_dialog_information(), pay_from_container(), peacemaker_type_process(), perceive_self(), permute(), pets_get_enemy(), pets_move_golem(), pets_summon_golem(), pets_summon_object(), pick_arrow_target(), pick_lock(), pick_up(), pick_up_object(), place_alchemy_objects(), place_exits(), poison_living(), polymorph(), polymorph_living(), pray(), pray_at_altar(), prayer_failure(), price_approx(), print_shop_string(), probe(), put_a_monster(), put_in_icecube(), put_object_in_sack(), query_money(), read_ignore_list(), read_map_log(), read_type(), recharge(), remove_adjacent_doors(), remove_contents(), remove_curse(), remove_door(), remove_locked_door(), remove_monsters(), remove_special_prayers(), remove_trap(), restore_player(), retrofit_joined_wall(), roll_ob(), save_life(), save_object_in_sb(), scroll_failure(), sell_item(), send_changed_object(), send_tick(), set_up_cmd(), shop_describe(), shop_mat_type_move_on(), shop_pay_unpaid_callback(), shop_price_buy(), shop_price_sell(), show_matching_spells(), show_skills(), singing(), skill_attack(), slow_living_by(), spell_failure(), spell_find_dir(), stand_near_hostile(), START_TEST(), steal(), stick_arrow(), stop_using_item(), stringbuffer_ensure(), subtract_player_exp(), swap_stat(), teleport(), town_portal_destroy_existing(), trigger_connected(), try_fit(), unapply_for_ob(), unapply_special(), update_button(), update_position(), use_alchemy(), use_oratory(), use_skill(), inja::Renderer.visit(), while(), write_mark(), write_rune(), and write_scroll().

◆ Value

Ice.Value

Definition at line 144 of file Ice.py.

◆ Weight

Ice.Weight

Definition at line 49 of file Ice.py.

◆ whoami

Ice.whoami = Crossfire.WhoAmI()

Definition at line 40 of file Ice.py.

◆ WL

Ice.WL = str(whoami.WeightLimit)

Definition at line 107 of file Ice.py.

◆ XY

tuple Ice.XY = (whoami.X,whoami.Y)

Definition at line 214 of file Ice.py.

◆ y

Ice.y = z.CreateObject("event_time")

Definition at line 155 of file Ice.py.

◆ z

Ice.z = b.CreateObject("event_time")

Definition at line 50 of file Ice.py.

◆ Z

bool Ice.Z = z.CreateObject("event_destroy")

Definition at line 137 of file Ice.py.