Jump to content
Rpg²S Forum
  • 0

Limite di peso nell'inventario


Zosimos
 Share

Question

Sto cercando uno script (o indicazioni su come modificare quanto esistente) che consenta di porre un limite al peso trasportabile dai personaggi... quello che di base succede in tutti gli RPG degni di questo nome, e che RPGMaker non contempla.

 

Sono quasi sicuro che ci siano script del genere, ma non riesco a rintracciarli.

 

Grazie in anticipo

Gioco in Sviluppo:

http://www.studibizantini.it/docs/Logo.png

 

Blog: Ode to my Forthcoming Winter

Riferimento

 

Contest:

http://rpg2s.net/gif/SCContest2Oct.gifx2 http://rpg2s.net/gif/SCContest1Oct.gifx1

Link to comment
Share on other sites

5 answers to this question

Recommended Posts

  • 0

Ho trovato questo se può esserti utile, ma ovviamente il link è scaduto... se riesci a contattare la persona, ho visto che c'è un pulsante per twitter pure, male che va ti crei account fasullo XD

^ ^

(\_/)
(^ ^) <----coniglietto rosso, me!
(> <)


Il mio Tumblr dove seguire i miei progetti, i progetti della Reverie : : Project ^ ^

http://i.imgur.com/KdUDtQt.png disponibile su Google Play, qui i dettagli! ^ ^

http://i.imgur.com/FwnGMI3.png completo! Giocabile online, qui i dettagli! ^ ^

REVERIE : : RENDEZVOUS (In allenamento per apprendere le buone arti prima di cominciarlo per bene ^ ^) Trovate i dettagli qui insieme alla mia intervista (non utilizzerò più rpgmaker) ^ ^

 

SUWOnzB.jpg 🖤
http://www.rpg2s.net/dax_games/r2s_regali2s.png E:3 http://www.rpg2s.net/dax_games/xmas/gifnatale123.gif
http://i.imgur.com/FfvHCGG.png by Testament (notare dettaglio in basso a destra)! E:3
http://i.imgur.com/MpaUphY.jpg by Idriu E:3

Membro Onorario, Ambasciatore dei Coniglietti (Membro n.44)

http://i.imgur.com/PgUqHPm.png
Ufficiale
"Ad opera della sua onestà e del suo completo appoggio alla causa dei Panda, Guardian Of Irael viene ufficialmente considerato un Membro portante del Partito, e Ambasciatore del suo Popolo presso di noi"


http://i.imgur.com/TbRr4iS.png<- Grazie Testament E:3
Ricorda...se rivolgi il tuo sguardo ^ ^ a Guardian anche Guardian volge il suo sguardo ^ ^ a te ^ ^
http://i.imgur.com/u8UJ4Vm.gifby Flame ^ ^
http://i.imgur.com/VbggEKS.gifhttp://i.imgur.com/2tJmjFJ.gifhttp://projectste.altervista.org/Our_Hero_adotta/ado2.png
Grazie Testament XD Fan n°1 ufficiale di PQ! :D

Viva
il Rhaxen! <- Folletto te lo avevo detto (fa pure rima) che non
avevo programmi di grafica per fare un banner su questo pc XD (ora ho di
nuovo il mio PC veramente :D)

Rosso Guardiano della
http://i.imgur.com/Os5rvhx.png

Rpg2s RPG BY FORUM:

Nome: Darth Reveal

 

PV totali 2
PA totali 16

Descrizione: ragazzo dai lunghi capelli rossi ed occhi dello stesso colore. Indossa una elegante giacca rossa sopra ad una maglietta nera. Porta pantaloni rossi larghi, una cintura nera e degli stivali dello stesso colore. E' solito trasportare lo spadone dietro la schiena in un fodero apposito. Ha un pendente al collo e tiene ben legato un pezzo di stoffa (che gli sta particolarmente a cuore) intorno al braccio sinistro sotto la giacca, copre una cicatrice.
Bozze vesti non definitive qui.

Equipaggiamento:
Indossa:
60$ e 59$ divisi in due tasche interne
Levaitan

Spada a due mani elsa lunga

Guanti del Defender (2PA)
Anello del linguaggio animale (diventato del Richiamo)

Scrinieri da lanciere (2 PA)

Elmo del Leone (5 PA)

Corazza del Leone in Ferro Corrazzato (7 PA)

ZAINO (20) contenente:
Portamonete in pelle di cinghiale contenente: 100$
Scatola Sanitaria Sigillata (può contenere e tenere al sicuro fino a 4 oggetti curativi) (contiene Benda di pronto soccorso x3, Pozione di cura)
Corda
Bottiglia di idromele
Forma di formaggio
Torcia (serve ad illuminare, dura tre settori)

Fiasca di ceramica con Giglio Amaro (Dona +1PN e Velocità all'utilizzatore)
Ampolla Bianca

Semi di Balissa

 

CAVALLO NORMALE + SELLA (30 +2 armi) contentente:
66$
Benda di pronto soccorso x3
Spada a due mani

Fagotto per Adara (fazzoletto ricamato)


 

Link to comment
Share on other sites

  • 0

Mmh... ad un certop punto, scorrendo in basso, c'è uno script nel box di spoiler, probabilmente proprio quello a cui noi ci stiamo riferendo.

Qualcuno che ne sappia un po' potrebbe dargli uno sguardo?

 

 

 

################################################################################
#   Item Weight V 1.0														  #
#		 by Tidloc															#
################################################################################
#  V 1.4																	   #
#	by Mr Wiggles - Drop to map.											  #
################################################################################
#   This script allows the player to carry only a limited amount of weight.   #
#   To define the weight of an item, weapon or armor simply enter \w<*VALUE*>  #
#   in the description box of that item. If left out the weight will be 0!	 #
################################################################################
#   Definition of the constants:											   #
#	TIDLOC_GROUPWEIGHT_MAX ................. limit of weight, where the	   #
#											 player will be slowed down.	  #
#	TIDLOC_GROUPWEIGHT_SHOW_MAX ............ true if GROUPWEIGHT_MAX shall be #
#											 used  for max weight, not		#
#											 CARRY_OVER_MAX.				  #
#	TIDLOC_GROUPWEIGHT_CARRY_OVER_MAX ...... maximum weight, if exceeding	 #
#											 this limit, no more items can be #
#											 picked up.					   #
#	TIDLOC_GROUPWEIGHT_MAXWEIGHT_SWITCH .... the number of the global switch  #
#											 which shall be turned true if	#
#											 the max-limit is exceeded.	   #
#	TIDLOC_GROUPWEIGHT_OVERWEIGHT_SWITCH ... the number of the global switch  #
#											 which shall be turned true if	#
#											 you cannot carry any more.	   #
#				   if a switch is 0, it's not used							#
################################################################################
#   To alter this limits in game use the following script-commands:			 #
#	$game_temp._tidloc_pweight(*VALUE*) for GROUPWEIGHT_MAX				   #
#	$game_temp._tidloc_pmax(*VALUE*) for CARRY_OVER_MAX					   #
#   You may leave Value empty to reset to the constants.					   #
################################################################################
#  You are free to use this script in what ever game you want, but please	  #
#  credit me for this hell of work ^_^										 #
#	   Credits also to Albertfish for his help when it was needed!			#
################################################################################
#  Mr Wiggles:																 #
#																			  #
#	This version will store recently dropped items, which then can be picked   #
#	up through an event that calls a chest in Game_Guy's Item Storage Script. #
#																			  #
#	Use $game_temp.recentdrop for the chest that will house the recently	  #
#	dropped items from Tidloc's Weighted Items Script.						 #
################################################################################
TIDLOC_GROUPWEIGHT_MAX			   = 10   # Set by players Skill
TIDLOC_GROUPWEIGHT_CARRY_OVER_MAX	= 1000000000
TIDLOC_GROUPWEIGHT_MAT_POWER		 = 2   # Number of decimal algarisms.
TIDLOC_GROUPWEIGHT_MAXWEIGHT_SWITCH  = 20
TIDLOC_GROUPWEIGHT_OVERWEIGHT_SWITCH = 3
module CHEST_DROP # Mr Wiggles
# Switch that when false erases items that where dropped (like for a map change)
DROPED_ITEM_SW = 5
# This switch is Turned on when player drops new items
RELOCATE_ITEM  = 9
# Button to drop item
DROP_ITEM = Input::Letters["D"]
# Button to use item
USE_ITEM  = Input::C # Space, Enter, "C"
# Chest that will store items
DROP_CHEST_ID = 1
end # Mr Wiggles
#-------------------------------------------------------------------------------
# * Window_Weight
#-------------------------------------------------------------------------------
class Window_Weight < Window_Base
 def initialize
super(0, 0, 640, 480) # 140, 80
self.z = 200
self.contents = Bitmap.new(width - 32, height - 32)
self.opacity = 0
refresh
 end
 def refresh
self.contents.font.name = "Times New Roman"
self.contents.font.size = 20  
self.contents.clear
self.contents.font.color = system_color
a = 1
for i in 0...TIDLOC_GROUPWEIGHT_MAT_POWER
 a*=10.0
end
# Draw Weight in Maxed out color if over max
if $game_temp._tidloc_groupweight/a > $game_temp._tidloc_groupweight_max/a
  self.contents.font.color = knockout_color
  weight = ($game_temp._tidloc_groupweight/a).to_s
  max_weight = ($game_temp._tidloc_groupweight_max/a).to_s
  self.contents.draw_text(5, 9, 160, 32,weight+" / "+max_weight, 0)
# Draw Weight in Warning color if close to max
elsif $game_temp._tidloc_groupweight/a >= $game_temp._tidloc_groupweight_max/a - 15
  self.contents.font.color = crisis_color
  weight = ($game_temp._tidloc_groupweight/a).to_s
  max_weight = ($game_temp._tidloc_groupweight_max/a).to_s
  self.contents.draw_text(5, 9, 160, 32,weight+" / "+max_weight, 0)
else
# Draw Weight in normal color if under max
  self.contents.font.color = normal_color
  weight = ($game_temp._tidloc_groupweight/a).to_s
  max_weight = ($game_temp._tidloc_groupweight_max/a).to_s
  self.contents.draw_text(5, 9, 160, 32,weight+" / "+max_weight, 0)
end
# Draw Weight Total:
self.contents.draw_text(0,-9, 120, 32, "Weight Total:\n")
self.contents.font.color = normal_color
# Draw Weight help
self.contents.font.color = normal_color
self.contents.draw_text(280, -9, 200, 32, "Use items with Space,")
self.contents.draw_text(280,  9, 200, 32, "Drop items with \"D\".")
 end
end
#==============================================================================
# * Window_Item
#==============================================================================
class Window_Item < Window_Selectable
 #--------------------------------------------------------------------------
 # * Help Text Update
 #--------------------------------------------------------------------------
 def update_help
@help_window.set_text(self.item == nil ? "" : self.item.description)
if self.item != nil
  help = self.item.description.to_s
  $game_temp.item_description_lentgh = help.length
end
 end
end
#-------------------------------------------------------------------------------
# * Game_Temp
#-------------------------------------------------------------------------------
class Game_Temp
 attr_accessor :_tidloc_itemweight
 attr_accessor :_tidloc_weaponweight
 attr_accessor :_tidloc_armorweight
 attr_accessor :_tidloc_groupweight
 attr_accessor :_tidloc_groupweight_max
 attr_accessor :_tidloc_groupweight_carry_over_max
 attr_accessor :_tidloc_iweight_slow
 attr_accessor :recentdrop
 attr_accessor :item_description_lentgh
 alias wo_weight_initialize initialize
 def initialize
wo_weight_initialize
self._tidloc_itemweight				  = []
self._tidloc_weaponweight				= []
self._tidloc_armorweight				 = []
self.recentdrop						  = []
self.item_description_lentgh			 = 0
self._tidloc_groupweight				 = 0
self._tidloc_groupweight_max			 = TIDLOC_GROUPWEIGHT_MAX
self._tidloc_groupweight_carry_over_max  = TIDLOC_GROUPWEIGHT_CARRY_OVER_MAX
self._tidloc_iweight_slow				= false
 
for i in 1...$data_items.size
  if $data_items[i].description[0] != nil
	text  = $data_items[i].description
	text2 = ""
	text.gsub!(/\\w<([0-9]+)>/) {"\1[#{$1}]"}
	while ((c = text.slice!(/./m)) != nil)
	  if c != "\1"
		text2 += c
	  else
		text.sub!(/\[([_A-Za-z0-9-]+)\]/, "")
		self._tidloc_itemweight[i]=$1.to_i
	  end
	end
	$data_items[i].description = text2
  end
  self._tidloc_itemweight[i] = 0 if self._tidloc_itemweight[i].nil?
end
for i in 1...$data_weapons.size
  if $data_weapons[i].description[0] != nil
	text  = $data_weapons[i].description
	text2 = ""
	text.gsub!(/\\w<([0-9]+)>/) {"\1[#{$1}]"}
	while ((c = text.slice!(/./m)) != nil)
	  if c != "\1"
		text2 += c
	  else
		text.sub!(/\[([_A-Za-z0-9-]+)\]/, "")
		self._tidloc_weaponweight[i]=$1.to_i
	  end
	end
	$data_weapons[i].description = text2
  end
  self._tidloc_weaponweight[i] = 0 if self._tidloc_weaponweight[i].nil?
end
for i in 1...$data_armors.size
  if $data_armors[i].description[0] != nil
	text  = $data_armors[i].description
	text2 = ""
	text.gsub!(/\\w<([0-9]+)>/) {"\1[#{$1}]"}
	while ((c = text.slice!(/./m)) != nil)
	  if c == "\1"
		text.sub!(/\[([_A-Za-z0-9-]+)\]/, "")
		self._tidloc_armorweight[i]=$1.to_i
	  else
		text2 += c
	  end
	end
	$data_armors[i].description = text2
  end
  self._tidloc_armorweight[i] = 0 if self._tidloc_armorweight[i].nil?
end
 end
  def _tidloc_pweight(new_weight=TIDLOC_GROUPWEIGHT_MAX)
self._tidloc_groupweight_max = new_weight
 end
 def _tidloc_pmax(new_max=TIDLOC_GROUPWEIGHT_CARRY_OVER_MAX)
self._tidloc_groupweight_carry_over_max = new_max
 end
end
#-------------------------------------------------------------------------------
# * Game_Party
#-------------------------------------------------------------------------------
class Game_Party
 def tidloc_slowing(slow=true)
if slow
  $game_player.tidloc_alt_speed -1
else
  $game_player.tidloc_alt_speed 1
end
 end
#----------------------
# Gain Item
#----------------------
alias tidloc_iweight_item gain_item
def gain_item(item_id, n)
# Add Wieght
if item_id > 0
 $game_temp._tidloc_groupweight += $game_temp._tidloc_itemweight[item_id] * n #([[item_number(item_id) + n, 0].max, 999].min - item_number(item_id))
end
# check if over weight
if $game_temp._tidloc_groupweight > $game_temp._tidloc_groupweight_carry_over_max
 $game_switches.[]=(TIDLOC_GROUPWEIGHT_OVERWEIGHT_SWITCH, true) if TIDLOC_GROUPWEIGHT_OVERWEIGHT_SWITCH != -1
 if !$game_temp._tidloc_iweight_slow
$game_temp._tidloc_iweight_slow = true
tidloc_slowing
 end
elsif ($game_temp._tidloc_groupweight > $game_temp._tidloc_groupweight_max && !$game_temp._tidloc_iweight_slow)
 $game_temp._tidloc_iweight_slow = true
 $game_switches.[]=(TIDLOC_GROUPWEIGHT_MAXWEIGHT_SWITCH, true) if TIDLOC_GROUPWEIGHT_MAXWEIGHT_SWITCH != -1
 tidloc_slowing
 tidloc_iweight_item(item_id, n)
elsif ($game_temp._tidloc_groupweight <= $game_temp._tidloc_groupweight_max && $game_temp._tidloc_iweight_slow)
 $game_temp._tidloc_iweight_slow = false
 $game_switches.[]=(TIDLOC_GROUPWEIGHT_MAXWEIGHT_SWITCH, false) if TIDLOC_GROUPWEIGHT_MAXWEIGHT_SWITCH != -1
 tidloc_slowing false
 tidloc_iweight_item(item_id, n)
else
 tidloc_iweight_item(item_id, n)
end
end
#----------------------
# Gain Weapon
#----------------------
alias tidloc_iweight_weap gain_weapon
def gain_weapon(weapon_id, n)
if weapon_id > 0
  $game_temp._tidloc_groupweight += $game_temp._tidloc_weaponweight[weapon_id] * n #([[weapon_number(weapon_id) + n, 0].max, 99].min - weapon_number(weapon_id))
end
if $game_temp._tidloc_groupweight > $game_temp._tidloc_groupweight_carry_over_max
  $game_switches.[]=(TIDLOC_GROUPWEIGHT_OVERWEIGHT_SWITCH, true) if TIDLOC_GROUPWEIGHT_OVERWEIGHT_SWITCH != -1
  if !$game_temp._tidloc_iweight_slow
	$game_temp._tidloc_iweight_slow = true
	tidloc_slowing
  end
elsif $game_temp._tidloc_groupweight > $game_temp._tidloc_groupweight_max && !$game_temp._tidloc_iweight_slow
  $game_temp._tidloc_iweight_slow = true
  $game_switches.[]=(TIDLOC_GROUPWEIGHT_MAXWEIGHT_SWITCH, true) if TIDLOC_GROUPWEIGHT_MAXWEIGHT_SWITCH != -1
  tidloc_slowing
  tidloc_iweight_weap(weapon_id, n) if TIDLOC_GROUPWEIGHT_CARRY_OVER_MAX
  $game_switches.[]=(TIDLOC_GROUPWEIGHT_OVERWEIGHT_SWITCH, true) if !TIDLOC_GROUPWEIGHT_CARRY_OVER_MAX
elsif $game_temp._tidloc_groupweight <= $game_temp._tidloc_groupweight_max && $game_temp._tidloc_iweight_slow
  $game_temp._tidloc_iweight_slow = false
  $game_switches.[]=(TIDLOC_GROUPWEIGHT_MAXWEIGHT_SWITCH, false) if TIDLOC_GROUPWEIGHT_MAXWEIGHT_SWITCH != -1
  tidloc_slowing false
  tidloc_iweight_weap(weapon_id, n)
else
  tidloc_iweight_weap(weapon_id, n)
end
 end
#----------------------
# Gain Armor
#----------------------
alias tidloc_iweight_arm gain_armor
def gain_armor(armor_id, n)
if armor_id > 0
 $game_temp._tidloc_groupweight += $game_temp._tidloc_armorweight[armor_id] * n #([[armor_number(armor_id) + n, 0].max, 99].min - armor_number(armor_id))
end
if $game_temp._tidloc_groupweight > $game_temp._tidloc_groupweight_carry_over_max
 $game_switches.[]=(TIDLOC_GROUPWEIGHT_OVERWEIGHT_SWITCH, true) if TIDLOC_GROUPWEIGHT_OVERWEIGHT_SWITCH != -1
 if !$game_temp._tidloc_iweight_slow
$game_temp._tidloc_iweight_slow = true
tidloc_slowing
 end
elsif $game_temp._tidloc_groupweight > $game_temp._tidloc_groupweight_max && !$game_temp._tidloc_iweight_slow
 $game_temp._tidloc_iweight_slow = true
 $game_switches.[]=(TIDLOC_GROUPWEIGHT_MAXWEIGHT_SWITCH, true) if TIDLOC_GROUPWEIGHT_MAXWEIGHT_SWITCH != -1
 tidloc_slowing
 tidloc_iweight_arm(armor_id, n) if TIDLOC_GROUPWEIGHT_CARRY_OVER_MAX
 $game_switches.[]=(TIDLOC_GROUPWEIGHT_OVERWEIGHT_SWITCH, true) if !TIDLOC_GROUPWEIGHT_CARRY_OVER_MAX
elsif $game_temp._tidloc_groupweight <= $game_temp._tidloc_groupweight_max && $game_temp._tidloc_iweight_slow
 $game_temp._tidloc_iweight_slow = false
 $game_switches.[]=(TIDLOC_GROUPWEIGHT_MAXWEIGHT_SWITCH, false) if TIDLOC_GROUPWEIGHT_MAXWEIGHT_SWITCH != -1
 tidloc_slowing false
 tidloc_iweight_arm(armor_id, n)
else
 tidloc_iweight_arm(armor_id, n)
end
end
end
#-------------------------------------------------------------------------------
# * Game_Player
#-------------------------------------------------------------------------------
class Game_Player
 def tidloc_set_speed(speed=4)
@move_speed = speed
 end
 def tidloc_alt_speed(speed=0)
@move_speed += speed
 end
end
#-------------------------------------------------------------------------------
# * Scene_Item
#-------------------------------------------------------------------------------
class Scene_Item
 alias _tidloc_iweight_main main
 def main
@weight_window   = Window_Weight.new
@weight_window.x = 0
@weight_window.y = 0
_tidloc_iweight_main
@weight_window.dispose
 end
 alias _tidloc_iweight_update update
 def update
@weight_window.update
_tidloc_iweight_update
@weight_window.refresh
 end
#-------------------------------------------------------------------------------
alias _tidloc_iweight_item update_item
def update_item
@item = @item_window.item
#------------------  
if Input.trigger?(CHEST_DROP::USE_ITEM)
 # If not an item
unless @item.is_a?(RPG::Item)
  # Play buzzer SE
  $game_system.se_play($data_system.buzzer_se)
  return
end
unless $game_party.item_can_use?(@item.id)
  # Play buzzer SE
  $game_system.se_play($data_system.buzzer_se)
  return
end
$game_system.se_play($data_system.decision_se)
if @item.scope >= 3
	@item_window.active = false
	@target_window.x = (@item_window.index + 1) % 2 * 304
	@target_window.visible = true
	@target_window.active = true
	if @item.scope == 4 || @item.scope == 6
	   @target_window.index = -1
	else
	   @target_window.index = 0
	end # if scope == 4
 else
	if @item.common_event_id > 0
	   $game_temp.common_event_id = @item.common_event_id
	   $game_system.se_play($data_system.decision_se)
	   if @item.consumable
		  $game_party.lose_item(@item.id, 1)
		  @item_window.draw_item(@item_window.index)
		end # if consumable
	   $scene = Scene_Map.new
		return
	 end # if common event
   end # if item scope >= 3
  @item_window.refresh
  @weight_window.refresh
  return
end # if Input::C
#------------------  
if Input.trigger?(CHEST_DROP::DROP_ITEM) # Drop Item
   $game_switches[CHEST_DROP::RELOCATE_ITEM] = true
   # define $chest
   if $game_system.chests[CHEST_DROP::DROP_CHEST_ID] == nil
	  $chest = Game_Chest.new(GameGuy::ChestMaxItems)
	else
	  $chest = $game_system.chests[CHEST_DROP::DROP_CHEST_ID]
	end
   # if it is an Item
   if @item.is_a?(RPG::Item)
	  $game_system.se_play($data_system.buzzer_se)
	  $game_party.gain_item(@item.id,-1)
	  # add items into drop bag
	  $chest.add_item(@item.id, 1)
	  $game_switches[CHEST_DROP::DROPED_ITEM_SW] = true
	# if it is a Weapon  
	elsif @item.is_a?(RPG::Weapon)
	  $game_system.se_play($data_system.buzzer_se)
	  $game_party.gain_weapon(@item.id,-1)
	  # add items into drop bag
	  $chest.add_weapon(@item.id, 1)
	  $game_switches[CHEST_DROP::DROPED_ITEM_SW] = true
	# if it is an Armor
	elsif @item.is_a?(RPG::Armor)
	  $game_system.se_play($data_system.buzzer_se)
	  $game_party.gain_armor(@item.id,-1)
	  # add items into drop bag
	  $chest.add_armor(@item.id, 1)
	  $game_switches[CHEST_DROP::DROPED_ITEM_SW] = true
	end # item type
	  $game_map.refresh
	  @item_window.refresh
	  @weight_window.refresh
	 # update droped items
	 $game_system.add_chest(CHEST_DROP::DROP_CHEST_ID)
	 $game_map.game_chest_size(CHEST_DROP::DROP_CHEST_ID)
	 chest_size = $number_of_droped_items
  return
end # Input Drop button
#------------------  
_tidloc_iweight_item
 end # def
end # class
#-------------------------------------------------------------------------------
# * Scene_Shop
#-------------------------------------------------------------------------------
class Scene_Shop
 alias _tidloc_iweight_buy update_buy
 def update_buy
_tidloc_iweight_buy
if Input.trigger?(Input::C)
  @item = @buy_window.item
  if @item == nil or @item.price > $game_party.gold
	$game_system.se_play($data_system.buzzer_se)
	return
  end
  case @item
  when RPG::Item
	number = $game_party.item_number(@item.id)
	max2 = $game_temp._tidloc_itemweight[@item.id]
  when RPG::Weapon
	number = $game_party.weapon_number(@item.id)
	max2 = $game_temp._tidloc_weaponweight[@item.id]
  when RPG::Armor
	number = $game_party.armor_number(@item.id)
	max2 = $game_temp._tidloc_armorweight[@item.id]
  end
  if number == 999
	$game_system.se_play($data_system.buzzer_se)
	return
  end
  $game_system.se_play($data_system.decision_se)
  max = @item.price == 0 ? 999 : $game_party.gold / @item.price
  return if max2 == 0
  max2 = ($game_temp._tidloc_groupweight_max - $game_temp._tidloc_groupweight) / max2
  max = [max, 999 - number, max2].min
  @buy_window.active = false
  @buy_window.visible = false
  @number_window.set(@item, max, @item.price)
  @number_window.active = true
  @number_window.visible = true
end
 end
end
#-------------------------------------------------------------------------------
# Scene Map
#-------------------------------------------------------------------------------
class Scene_Map
 alias wieght_update update
 def update
# Erase items that where droped if DROPED_ITEM_SW switch is off or if
# there are no droped items to pick up
if $game_system.chests[CHEST_DROP::DROP_CHEST_ID] != nil
  $game_map.game_chest_size(CHEST_DROP::DROP_CHEST_ID)
end
chest_size = $number_of_droped_items
if chest_size == 0 and $game_switches[CHEST_DROP::DROPED_ITEM_SW] == true
  $game_switches[CHEST_DROP::DROPED_ITEM_SW] = false
end
if $game_switches[CHEST_DROP::DROPED_ITEM_SW] == false
  $game_temp.recentdrop.clear
  $number_of_droped_items = 0
  $game_system.chests[CHEST_DROP::DROP_CHEST_ID] = nil
end
wieght_update
 end
end

 

Gioco in Sviluppo:

http://www.studibizantini.it/docs/Logo.png

 

Blog: Ode to my Forthcoming Winter

Riferimento

 

Contest:

http://rpg2s.net/gif/SCContest2Oct.gifx2 http://rpg2s.net/gif/SCContest1Oct.gifx1

Link to comment
Share on other sites

  • 0

Uh non l'avevo visto, beh sì, è proprio quello! E' la versione vecchia però D:

Per il resto è ok? Dalla configurazione sembra chiaro! ^ ^

(\_/)
(^ ^) <----coniglietto rosso, me!
(> <)


Il mio Tumblr dove seguire i miei progetti, i progetti della Reverie : : Project ^ ^

http://i.imgur.com/KdUDtQt.png disponibile su Google Play, qui i dettagli! ^ ^

http://i.imgur.com/FwnGMI3.png completo! Giocabile online, qui i dettagli! ^ ^

REVERIE : : RENDEZVOUS (In allenamento per apprendere le buone arti prima di cominciarlo per bene ^ ^) Trovate i dettagli qui insieme alla mia intervista (non utilizzerò più rpgmaker) ^ ^

 

SUWOnzB.jpg 🖤
http://www.rpg2s.net/dax_games/r2s_regali2s.png E:3 http://www.rpg2s.net/dax_games/xmas/gifnatale123.gif
http://i.imgur.com/FfvHCGG.png by Testament (notare dettaglio in basso a destra)! E:3
http://i.imgur.com/MpaUphY.jpg by Idriu E:3

Membro Onorario, Ambasciatore dei Coniglietti (Membro n.44)

http://i.imgur.com/PgUqHPm.png
Ufficiale
"Ad opera della sua onestà e del suo completo appoggio alla causa dei Panda, Guardian Of Irael viene ufficialmente considerato un Membro portante del Partito, e Ambasciatore del suo Popolo presso di noi"


http://i.imgur.com/TbRr4iS.png<- Grazie Testament E:3
Ricorda...se rivolgi il tuo sguardo ^ ^ a Guardian anche Guardian volge il suo sguardo ^ ^ a te ^ ^
http://i.imgur.com/u8UJ4Vm.gifby Flame ^ ^
http://i.imgur.com/VbggEKS.gifhttp://i.imgur.com/2tJmjFJ.gifhttp://projectste.altervista.org/Our_Hero_adotta/ado2.png
Grazie Testament XD Fan n°1 ufficiale di PQ! :D

Viva
il Rhaxen! <- Folletto te lo avevo detto (fa pure rima) che non
avevo programmi di grafica per fare un banner su questo pc XD (ora ho di
nuovo il mio PC veramente :D)

Rosso Guardiano della
http://i.imgur.com/Os5rvhx.png

Rpg2s RPG BY FORUM:

Nome: Darth Reveal

 

PV totali 2
PA totali 16

Descrizione: ragazzo dai lunghi capelli rossi ed occhi dello stesso colore. Indossa una elegante giacca rossa sopra ad una maglietta nera. Porta pantaloni rossi larghi, una cintura nera e degli stivali dello stesso colore. E' solito trasportare lo spadone dietro la schiena in un fodero apposito. Ha un pendente al collo e tiene ben legato un pezzo di stoffa (che gli sta particolarmente a cuore) intorno al braccio sinistro sotto la giacca, copre una cicatrice.
Bozze vesti non definitive qui.

Equipaggiamento:
Indossa:
60$ e 59$ divisi in due tasche interne
Levaitan

Spada a due mani elsa lunga

Guanti del Defender (2PA)
Anello del linguaggio animale (diventato del Richiamo)

Scrinieri da lanciere (2 PA)

Elmo del Leone (5 PA)

Corazza del Leone in Ferro Corrazzato (7 PA)

ZAINO (20) contenente:
Portamonete in pelle di cinghiale contenente: 100$
Scatola Sanitaria Sigillata (può contenere e tenere al sicuro fino a 4 oggetti curativi) (contiene Benda di pronto soccorso x3, Pozione di cura)
Corda
Bottiglia di idromele
Forma di formaggio
Torcia (serve ad illuminare, dura tre settori)

Fiasca di ceramica con Giglio Amaro (Dona +1PN e Velocità all'utilizzatore)
Ampolla Bianca

Semi di Balissa

 

CAVALLO NORMALE + SELLA (30 +2 armi) contentente:
66$
Benda di pronto soccorso x3
Spada a due mani

Fagotto per Adara (fazzoletto ricamato)


 

Link to comment
Share on other sites

  • 0

Quello che non ho capito (e per cui chiedo aiuto a qualcuno che abbia una conoscenza superiore alla mia sugli script... e ci vuole poco!) è che cosa mai succeda quando il giocatore ha colmato il peso a disposizione. Non può più prendere altri oggetti? E cosa accadrebbe in caso di eventuale loot?

 

In ogni caso, sto cercando alternative, ma mi pare di non trovarle... mi pare strano però, quella del peso è una delle componenti tipiche di molti RPG.

Gioco in Sviluppo:

http://www.studibizantini.it/docs/Logo.png

 

Blog: Ode to my Forthcoming Winter

Riferimento

 

Contest:

http://rpg2s.net/gif/SCContest2Oct.gifx2 http://rpg2s.net/gif/SCContest1Oct.gifx1

Link to comment
Share on other sites

  • 0

Ad un certo punto dice...

# This switch is Turned on when player drops new items

RELOCATE_ITEM = 9

Se non ho capito male quando raccogli un oggetto che non c'entra allora la switch viene messa ON, quindi ti basterà mettere nel forziere una condizione se switch 9 is ON allora metti OFF la switch che svuoterebbe il forziere altrimenti mettila ON (cioè solita condizione per far accedere la seconda pagina dell'evento col forziere aperto e vuoto)! Ricorda poi di rimettere OFF pure la 9 se non lo fa in automatico! ^ ^

 

Insomma fa un po' di prove e ricorda che per ogni oggetto in game dovresti utilizzare quel sistema, quindi se un pg ti vuole donare un oggetto tu interrompi la messa in OFF di quel pg e lo fai rimanere con l'oggetto utile in canna! ^ ^

(\_/)
(^ ^) <----coniglietto rosso, me!
(> <)


Il mio Tumblr dove seguire i miei progetti, i progetti della Reverie : : Project ^ ^

http://i.imgur.com/KdUDtQt.png disponibile su Google Play, qui i dettagli! ^ ^

http://i.imgur.com/FwnGMI3.png completo! Giocabile online, qui i dettagli! ^ ^

REVERIE : : RENDEZVOUS (In allenamento per apprendere le buone arti prima di cominciarlo per bene ^ ^) Trovate i dettagli qui insieme alla mia intervista (non utilizzerò più rpgmaker) ^ ^

 

SUWOnzB.jpg 🖤
http://www.rpg2s.net/dax_games/r2s_regali2s.png E:3 http://www.rpg2s.net/dax_games/xmas/gifnatale123.gif
http://i.imgur.com/FfvHCGG.png by Testament (notare dettaglio in basso a destra)! E:3
http://i.imgur.com/MpaUphY.jpg by Idriu E:3

Membro Onorario, Ambasciatore dei Coniglietti (Membro n.44)

http://i.imgur.com/PgUqHPm.png
Ufficiale
"Ad opera della sua onestà e del suo completo appoggio alla causa dei Panda, Guardian Of Irael viene ufficialmente considerato un Membro portante del Partito, e Ambasciatore del suo Popolo presso di noi"


http://i.imgur.com/TbRr4iS.png<- Grazie Testament E:3
Ricorda...se rivolgi il tuo sguardo ^ ^ a Guardian anche Guardian volge il suo sguardo ^ ^ a te ^ ^
http://i.imgur.com/u8UJ4Vm.gifby Flame ^ ^
http://i.imgur.com/VbggEKS.gifhttp://i.imgur.com/2tJmjFJ.gifhttp://projectste.altervista.org/Our_Hero_adotta/ado2.png
Grazie Testament XD Fan n°1 ufficiale di PQ! :D

Viva
il Rhaxen! <- Folletto te lo avevo detto (fa pure rima) che non
avevo programmi di grafica per fare un banner su questo pc XD (ora ho di
nuovo il mio PC veramente :D)

Rosso Guardiano della
http://i.imgur.com/Os5rvhx.png

Rpg2s RPG BY FORUM:

Nome: Darth Reveal

 

PV totali 2
PA totali 16

Descrizione: ragazzo dai lunghi capelli rossi ed occhi dello stesso colore. Indossa una elegante giacca rossa sopra ad una maglietta nera. Porta pantaloni rossi larghi, una cintura nera e degli stivali dello stesso colore. E' solito trasportare lo spadone dietro la schiena in un fodero apposito. Ha un pendente al collo e tiene ben legato un pezzo di stoffa (che gli sta particolarmente a cuore) intorno al braccio sinistro sotto la giacca, copre una cicatrice.
Bozze vesti non definitive qui.

Equipaggiamento:
Indossa:
60$ e 59$ divisi in due tasche interne
Levaitan

Spada a due mani elsa lunga

Guanti del Defender (2PA)
Anello del linguaggio animale (diventato del Richiamo)

Scrinieri da lanciere (2 PA)

Elmo del Leone (5 PA)

Corazza del Leone in Ferro Corrazzato (7 PA)

ZAINO (20) contenente:
Portamonete in pelle di cinghiale contenente: 100$
Scatola Sanitaria Sigillata (può contenere e tenere al sicuro fino a 4 oggetti curativi) (contiene Benda di pronto soccorso x3, Pozione di cura)
Corda
Bottiglia di idromele
Forma di formaggio
Torcia (serve ad illuminare, dura tre settori)

Fiasca di ceramica con Giglio Amaro (Dona +1PN e Velocità all'utilizzatore)
Ampolla Bianca

Semi di Balissa

 

CAVALLO NORMALE + SELLA (30 +2 armi) contentente:
66$
Benda di pronto soccorso x3
Spada a due mani

Fagotto per Adara (fazzoletto ricamato)


 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...