Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.
Sign upLarge Tent #8377
Conversation
KA101
reviewed
Jul 29, 2014
| if (!g->m.has_flag("FLAT", posx + i, posy + j) || | ||
| g->m.has_furn(posx + i, posy + j)) { | ||
| add_msg(m_info, _("You need a 5x5 flat space to place a tent.")); | ||
| return 0; |
This comment has been minimized.
This comment has been minimized.
KA101
Jul 29, 2014
Contributor
Should probably be "this tent" so folks don't get confused between tents. Little thing, I know.
This comment has been minimized.
This comment has been minimized.
|
Looks like it's set for mainline, not a mod. Not that I mind: this isn't outside DDA's scope, so no reason it couldn't be mainline. Just wanted to clarify that. |
This comment has been minimized.
This comment has been minimized.
|
I was actually wondering if this was the correct spot to be honest. I appreciate the clarification. |
This comment has been minimized.
This comment has been minimized.
|
You want to throw code our way, this is the spot. Welcome to the hopper. |
KA101
self-assigned this
Jul 29, 2014
This comment has been minimized.
This comment has been minimized.
|
OK, not yet ready. You're gonna need to copy the damaged-tent code for this one, as currently yours is impervious to attack (whacking it with a machete did nothing; do the same to the small and it's Collapsed, in need of repair.) |
KA101
removed their assignment
Jul 30, 2014
This comment has been minimized.
This comment has been minimized.
|
Okay, I'll begin on that shortly. |
This comment has been minimized.
This comment has been minimized.
|
All finished up now. |
jc6036 commentedJul 29, 2014
I've added a large tent to the game, with a floor space of 3x3 and a total space of 5x5.
To accomplish this, I added:
The tent has 40 volume, making it just troublesome enough to outweigh its boon of space. The spawn rate, however, is identical to the smaller personal tent.