Fulqrum Publishing Home   |   Register   |   Today Posts   |   Members   |   UserCP   |   Calendar   |   Search   |   FAQ

Go Back   Official Fulqrum Publishing forum > Fulqrum Publishing > Star Wolves

Star Wolves 3D space RPG with deep strategy and tactical elements

Reply
 
Thread Tools Display Modes
  #1  
Old 04-01-2010, 01:21 AM
tsavo tsavo is offline
Approved Member
 
Join Date: Mar 2010
Posts: 73
Default

what does Calculation 1 do again?
Reply With Quote
  #2  
Old 04-01-2010, 01:40 AM
Nanaki Nanaki is offline
Approved Member
 
Join Date: Mar 2010
Posts: 338
Default

Quote:
for i=1,getn(ShopModulesRare),1 do
if (10 > RAND(100)) then ship_tre2_1:AddModuleToInventory(ShopModulesRare[i],1); end;
end;
for i=1,getn(ShopModulesRare),1 do
if (10 > RAND(100)) then ship_tre3_1:AddModuleToInventory(ShopModulesRare[i],1); end;
end;
That is the code.

Basically, it spawns a random amount of loot from the shipmodulesrare directory into the transport's inventory.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 12:06 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright © 2007 Fulqrum Publishing. All rights reserved.