2015-11-09 19:52:20 -07:00
|
|
|
-- Changes the first name of all units to "Bob"
|
2014-11-09 16:37:11 -07:00
|
|
|
--author expwnent
|
2015-11-04 05:14:10 -07:00
|
|
|
--
|
|
|
|
--[[=begin
|
|
|
|
|
|
|
|
devel/all-bob
|
|
|
|
=============
|
|
|
|
Changes the first name of all units to "Bob".
|
|
|
|
Useful for testing `modtools/interaction-trigger` events.
|
|
|
|
|
|
|
|
=end]]
|
2014-11-09 16:37:11 -07:00
|
|
|
|
|
|
|
for _,v in ipairs(df.global.world.units.all) do
|
|
|
|
v.name.first_name = "Bob"
|
|
|
|
end
|