Jump to content

coreyh2

Member
  • Posts

    3
  • Joined

  • Last visited

    Never

coreyh2's Achievements

Fledgling Fyora

Fledgling Fyora (1/17)

  1. How much is string variable like a pointer to a char in C? After I call get_buffer_text and then clear_buffer is the variable string still safe to use? I'm overly paranoid because I've crashed C programs often by not correctly handling memory and strings.
  2. is there a reason to use take_num_of_item instead of take_all_of_item?
  3. This has probably already been discussed but I couldn't find the answer in a quick search. Code: begindefineitem 450; clear; it_name = "Tradable Metal"; it_full_name = "Tradable Metal"; it_variety = 21; it_floor_which_sheet = 1017; it_floor_which_icon = 5; it_inventory_icon = 6; it_value = 0; it_weight = 0; it_identified = 1; it_icon_adjust = 16; why doesn't this stack? The documentation states that it_variety 21 "combines with like items in inventory". I tried giving 20 of these with reward_give and it makes a awful mess. How do i make a item with no special abilities that stacks?
×
×
  • Create New...