From 036c0f787c0feb6246326276862c79f562bd2e1d Mon Sep 17 00:00:00 2001 From: Japa Date: Thu, 23 Jun 2016 21:26:00 +0530 Subject: [PATCH] Send creature adult size through remotefortressreader.cpp --- plugins/proto/RemoteFortressReader.proto | 3 +++ plugins/remotefortressreader.cpp | 3 +++ 2 files changed, 6 insertions(+) diff --git a/plugins/proto/RemoteFortressReader.proto b/plugins/proto/RemoteFortressReader.proto index 8f8d1b923..b7ca674fb 100644 --- a/plugins/proto/RemoteFortressReader.proto +++ b/plugins/proto/RemoteFortressReader.proto @@ -508,6 +508,8 @@ message CasteRaw repeated int32 layer_idx = 12; repeated BpAppearanceModifier body_appearance_modifiers = 13; repeated ColorModifierRaw color_modifiers = 14; + optional string description = 15; + optional int32 adult_size = 16; } message CreatureRaw @@ -612,3 +614,4 @@ message KeyboardEvent optional uint32 mod = 6; optional uint32 unicode = 7; } + \ No newline at end of file diff --git a/plugins/remotefortressreader.cpp b/plugins/remotefortressreader.cpp index 04e5a994e..fe8aae53e 100644 --- a/plugins/remotefortressreader.cpp +++ b/plugins/remotefortressreader.cpp @@ -2405,6 +2405,9 @@ static command_result GetCreatureRaws(color_ostream &stream, const EmptyMessage send_mod->set_part(orig_mod->part); } } + + send_caste->set_description(orig_caste->description); + send_caste->set_adult_size(orig_caste->misc.adult_size); } }